MSOPictures.Count = 0

Questions and answers on how to use XLSReadWriteII 3/4/5.
Post Reply
billegge
Posts: 23
Joined: Fri Feb 08, 2008 8:34 pm

MSOPictures.Count = 0

Post by billegge »

I have an Excel 2007 file with a logo in it, when I load this file into TXLSReadWriteII4 the MSOPictures.Count = 0

If I change the file name to your PictureSample.xls then the count is 3 as expected, so I don't know what to do.

I beleive I added the image by Pasting from photoshop.
billegge
Posts: 23
Joined: Fri Feb 08, 2008 8:34 pm

Re: MSOPictures.Count = 0

Post by billegge »

FYI - I converted the file to old 97-2003 format and the Picture count is showing 1 as expected, but if the same file is saved to 2007 format then the picture count is 0.
larsa
Site Admin
Posts: 926
Joined: Mon Jun 27, 2005 9:30 pm

Re: MSOPictures.Count = 0

Post by larsa »

Hello

Pictures are not accessible in excel 2007 files yet.
Lars Arvidsson, Axolot Data
Post Reply