Hello Profs,
Who knows how to limit the code to delete only .jpg files in a XLS?
![]()
Please Login or Register to view this content.
Hello Profs,
Who knows how to limit the code to delete only .jpg files in a XLS?
![]()
Please Login or Register to view this content.
Last edited by Leith Ross; 05-03-2015 at 04:41 PM. Reason: Added Code Tags
Hello Arjen79,
The Excel Pictures collection object does not have a Type property. This is because all picture files on a worksheet are converted into the same format regardless if it is a bmp, jpg, or png.
You may be able to delete specific pictures by name, provided the picture type was included in the picture's name.
Sincerely,
Leith Ross
Remember To Do the Following....
1. Use code tags. Place [CODE] before the first line of code and [/CODE] after the last line of code.2. Thank those who have helped you by clicking the Starbelow the post.
3. Please mark your post [SOLVED] if it has been answered satisfactorily.
Old Scottish Proverb...
Luathaid gu deanamh maille! (Rushing causes delays!)
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks