How to Reduce Excel File Size with Pictures (2 Easy Ways)

Get FREE Advanced Excel Exercises with Solutions!

You must compress the photos if you work with photographs in Excel. Otherwise, the Excel file size will rise. Here, you need to pay attention to the fact that while compressing, the image quality needs to be good. You must then compress those photos using the Excel built-in command after first reducing their size outside of Excel. In this article, we will show you how to reduce Excel file size with pictures.

As more data, formulas, and graphics are added to an Excel workbook, it has been known to become uncomfortably slow and weighty. Sometimes it’s simple to trim the fat and keep the size of the Excel file under control, and other times it isn’t. The majority of us work and collaborate via emailing Excel files because Excel is not a web-based product. We will demonstrate to you how to reduce Excel file size with pictures by utilizing the Format Picture tool and applying VBA code in the following two methods.


1. Using Picture Format Tool to Reduce Excel File Size with Pictures

In this first method, you will learn how to reduce Excel file size with pictures by using the Review tab.

  • Go to the Insert tab.
  • Select the Illustrations command.
  • Click on the Pictures option.
  • Finally, you can insert pictures using the Insert Picture From option.

Sample Data

  • Now, navigate to the File tab.

Sample Data

  • Here, click on the Save option first.
  • Then, select the Info option and you will see the actual file size of 124 KB.

Sample Data

  • In this step, click on the inserted picture first.
  • Then, open the Picture Format tool.
  • Besides, choose the Adjust command.

Sample Data

  • The Compress Pictures windows will open.
  • From the compression, choose the Delete cropped areas of pictures option.
  • Click on the E-mail (96 ppi): minimize document size for sharing.
  • Finally, click on OK and save the workbook as well.

Sample Data

  • Now, Save the workbook first.
  • Then, select the Info option.
  • Finally, this is the outcome of the reduced Excel file size of 53.8 KB with the pictures.

 Handy Approaches to Reduce Excel File Size with Pictures

Read More: How to Compress Excel File for Email


2. Applying VBA Code to Reduce Excel File Size with Pictures

In this final session, we will create a VBA to reduce the Excel file size with pictures using the Developer tab.

  • We will use the Developer tab.
  • Then, we will select the Visual Basic command.

 Handy Approaches to Reduce Excel File Size with Pictures

  • Here, the Visual Basic window will open.
  • From the Insert option, we will choose the new Module to write a VBA code.

 Handy Approaches to Reduce Excel File Size with Pictures

  • Now, paste the following VBA code into the Module.
  • To run the program, click the Run button or press F5.
Sub Reduced_Picture_Size()
'Declaring variables
    Dim Mysheet As Worksheet
' Setting worksheet as VBA Code
    Set Mysheet = Worksheets("VBA Code")
    Mysheet.Activate
   Mysheet.Shapes(1).Select
' Compressed picture using commnad
    SendKeys "%e", True
    SendKeys "~", True
    Application.CommandBars.ExecuteMso "PicturesCompress"
End Sub

 Handy Approaches to Reduce Excel File Size with Pictures

VBA Code Breakdown

  • We call our Sub Procedure as Reduced_Picture_Size().
  • We declare our variables as Dim Mysheet as Worksheet.
  • We set our worksheet name as VBA Code using Set Mysheet= Worksheets(“VBA Code”).
  • We will reduce our Excel file size with pictures as an Application.CommandBars.ExecuteMso “PicturesCompress”.
  • This is the final result of the compressed Excel file containing the images.

 Handy Approaches to Reduce Excel File Size with Pictures

Read More: How to Reduce Excel File Size with Macro


Download Practice Workbook

You may download the following Excel workbook for better understanding and practice it by yourself.


Conclusion

In this article, I’ve covered 2 handy methods to reduce Excel file size with pictures. I sincerely hope you enjoyed and learned a lot from this article. Additionally, if you want to read more articles on Excel, you may visit our website. If you have any questions, comments, or recommendations, kindly leave them in the comment section below.


Related Articles


<< Go Back to Excel Reduce File Size | Excel Files | Learn Excel

What is ExcelDemy?

ExcelDemy - Learn Excel & Get Excel Solutions Center provides online Excel training , Excel consultancy services , free Excel tutorials, free support , and free Excel Templates for Excel professionals and businesses. Feel free to contact us with your Excel problems.
Bishawajit Chakraborty
Bishawajit Chakraborty

Bishawajit Chakraborty, a Rajshahi University of Engineering & Technology graduate with a B.Sc. in Mechanical Engineering, has been associated with ExcelDemy since 2022. Presently, he is a content developer, specializing in Excel Power Query, Data Analysis and VBA. It is worth mentioning that he has authored more than 90 articles on VBA content development. His profound interest lies in the fields of data analytics and data science. He possesses expertise in VBA, Power BI, machine learning, and Python... Read Full Bio

We will be happy to hear your thoughts

Leave a reply

Advanced Excel Exercises with Solutions PDF

 

 

ExcelDemy
Logo