How to Quickly Extract Pictures From An Excel File

If you want to quickly extract pictures from an Excel file that embedded many pictures, you cannot be simply to do this. There's no build-in function to do this in Excel. Here are two simple ways to quickly extract pictures from an Excel file.

How to Quickly Extract Pictures From An Excel File

1. Open your Excel file, click File tab, choose Save As, in the Save As window, click the drop-down menu labeled Save as type:, scroll down and choose Web Page (*.htm;*.html), Click Save.

Save as Web Page File

When a web page is saved in a computer two files are actually generated. One is the html file, and another is a folder that contains all the images and other component files that are a part of the web page. For example, an Excel file named Products.xls saved as a web page will generate Products.htm and a folder labeled Products_files. If Products.xls contained images, these images will now be in the Products.xls_files folder. Now, open Products.xls_files folder, you will sell all the pictures.

All images in Web Page File
2. Change the Excel file extension (only available with .xlsx) as a RAR file, For example, change Products.xlsx to Products.rar, extract the Products.rar file, you will see 3 folders (_rels, docProps and xl) and 1 xml file ([Content_Types].xml), open xl folder, open media folder, you will sell all the images in the media folder.

All images in media folder

Leave a comment

Your email address will not be published. Required fields are marked *

Format your code: <pre><code class="language-vba">place your code here</code></pre>

58 comments
  1. DA
    dave

    I tried this solution but for some reason it saves each image twice. Any Idea why that might be?
    Thanks

  2. SH
    Shik

    awesome solution so far! you rock! 🙂

  3. MN
    Michael Nolsøe Madsen

    This is a bad solution as the images are extracted using the resolution of the cell and not the source image.

    • KE
      Keshav

      @Michael Nolsøe Madsen Hi Michael.. then what you do, is first change the size of all pictures quickly. press F5 and choose to select all objects. then in the picture tools all the way on the right choose a size for the width, let's say 5" and then follow the procedure above, which btw is an excelent solution!

      • TN
        Tammy N

        @Keshav Hi Keshav,
        Thanks so much, you make life easier. =)

      • MA
        Matt

        @Keshav This page was VERY HELPFUL, especially your suggestion about using F5 to select all, then resizing to a common width. Thanks

More comments