LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Get image from Excel as shape and Save as .jpg

Solved!
Go to solution

Hello,

   I'm fairly new to ActiveX and am having a hard time doing a seemingly simple thing: getting a named image from an Excel file and saving it as a .jpg.  I have seen similar things done for Excel chart objects, but as I understand it images are "shapes" in Excel and I've been unable to find the right method to extract a shape. Please, if anyone could take a look at the attached folder and tell me if I am on the right track, if there is a better way to do this, or if there is a way to do this at all, it would be helpful.  Note that I don't care how efficient a strategy is developed - if I need to save to an intermediate file of another type, that's fine. The only goal is to be able to extract this image and save it with one mouse-click and no manual intervention.

 

Folder contains: 1 example Excel file containing the image named "Picture 1"; 1 vi showing the method I've found for exporting Excel charts as .jpg's; and 1 vi with the progress I have made so far trying to pick the image from the Excel file and save it as a .jpg.  

 

Thanks in advance!

Megan

 

0 Kudos
Message 1 of 3
(11,424 Views)
Solution
Accepted by topic author MeganBeth

Hi megan,

see this link.

 

Hope it helps.

Mike

Message 2 of 3
(11,407 Views)

You're my hero! That's exactly what I needed, thanks.

 

Sorry, I did troll the boards earlier but did not find that solution at the time. Good thing you're still in the ActiveX business!

 

0 Kudos
Message 3 of 3
(11,379 Views)