Image Size versus Excel File Size

Posted on 2011-05-10
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 38

    Expert Comment

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

    Accepted Solution

    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

    Expert Comment

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

    Featured Post

    Find Ransomware Secrets With All-Source Analysis

    Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

    Join & Write a Comment

    Introduction This Article briefly covers methods of calculating the NPV and IRR variants in Excel as well as the limitations in calculating and interpreting IRR results. Paraphrasing Richard Shockley, author of my favourite finance reference tex…
    Convert between Excel file formats (.XLS, .XLSX, .XLSM) with/without macro option David Miller (dlmille) Intro Over this past Fall, I've had the opportunity to see several similar requests and have developed a couple related solutions associate…
    The viewer will learn how to use a discrete random variable to simulate the return on an investment over a period of years, create a Monte Carlo simulation using the discrete random variable, and create a graph to represent the possible returns over…
    This Micro Tutorial will demonstrate the scrolling table in Microsoft Excel using the INDEX function.

    754 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

    Need Help in Real-Time?

    Connect with top rated Experts

    17 Experts available now in Live!

    Get 1:1 Help Now