Quantcast
Channel: VBForums
Viewing all articles
Browse latest Browse all 15151

5.0 Extract images from excel

$
0
0
Hello,

I have an excel sheet with over 100 images in the second column.

I wrote a consol app to retrieve and save images on a local folder however the Workheet.Pictures collection appears to be empty when I run the code. and only access the images that are added recently ( for testing)
Code:

Workbook workbook = new Workbook();

 workbook.LoadFromFile(XLpath);
         
Worksheet sheet =  workbook.Worksheets[0];
//sheet.Pictures.Count() // returns 0

The sheet is not protected, and my code works on another file

Any ideas ?

Thanks

Viewing all articles
Browse latest Browse all 15151

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>