Image Size versus Excel File Size

Posted on 2011-05-10
Medium Priority
Last Modified: 2012-05-11
I have an Excel file with an ActiveX Image control. The file is 867KB. When I insert a 38K JPG image into the control, the file size goes to 1231KB! If I remove the image, the file size goes back to 867KB.

I have four of these ActiveX Image controls. If I put images in them which total 70KB as JPEG's on my disk, the file grows by 886KB! How can images make the file grow by ten times their size?

I love the control that the ActiveX Image control gives, but this file size is killing me!

Thanks, Ted
Question by:tk3
LVL 39

Expert Comment

by:Aaron Tomosky
ID: 35735100
I believe it converts them to bitmap. That's why the size grows so much.
LVL 30

Accepted Solution

SiddharthRout earned 1000 total points
ID: 35735631
You can use Stephen Bullen's PastePicture routines to copy the pictures from the worksheet to a image control on a userform. That will keep a check on the size of the workbook :)

Sample File Attached.

LVL 50
ID: 36594608
This question has been classified as abandoned and is closed as part of the Cleanup Program. See the recommendation for more details.

Featured Post


Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

How to get Spreadsheet Compare 2016 working with the 64 bit version of Office 2016
In Part II of this series, I will discuss how to identify all open instances of Excel and enumerate the workbooks, spreadsheets, and named ranges within each of those instances.
The viewer will learn how to use the =DISCRINV command to create a discrete random variable, use this command to model a set of probabilities and outcomes in a Monte Carlo simulation, and learn how to find the standard deviation of a set of probabil…
This Micro Tutorial will demonstrate how to use longer labels with horizontal bar charts instead of the vertical column chart.

864 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question