LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Save excel chart as image (activeX)

Solved!
Go to solution

Ben64,

 

I know this is an old thread, but i came across this solution while trying to troubleshoot a similar issue. In my scenario I have a chart tab that I'm trying to export as a .png. The png file is created in the correct path with the correct name, but seemingly is an empty file. My code is a mostly a replica of what you posted as the solution and i can attach that as well if need be. I appreciate any info you can give. Thanks!

 

 

0 Kudos
Message 11 of 13
(737 Views)

Not much to say with so few information. Any error? Did you used the good chart index (first one is 1 not 0).

 

Ben64

Message 12 of 13
(728 Views)

I index by the chart tab name and no there isn't an error. Everything appears to work correctly aside from the exported png containing any data. Attached is my code that opens an excel workbook and exports the chart as a png.

0 Kudos
Message 13 of 13
(714 Views)