LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Modify via Activex the Ms-Graph Object in Power point Slides

The problem is to control the graph object into a slide.
Attached you'll find a little vi and a small presentation.
In this simple example you can see that the MS-Chart object don't have the DATA SOURCE Properties.
How can I control those type of objects?

Thanks
Fabio
0 Kudos
Message 1 of 2
(2,788 Views)
When trying to control the embedded OLE object in the PP presentation, you need to use the Object property, then convert the variant to the proper Ref type (in this case MS.Graph.Chart). To access full control of the object, it is best to use the Application property. This will provide all of the properties of the embedded object. See the attached modified VI which demonstrates changing one point in the dataset.

Be sure to close all ActiveX references used in each VI.

Michael Munroe
Certified LabVIEW Developer
www.abcdefirm.com
Michael Munroe, CLD, CTD, MCP
Automate 1M+ VI Search, Sort and Edit operations with Property Inspector 5.1, now with a new Interactive Window Manager!
Now supports full project automation using one-click custom macros or CLI.
Message 2 of 2
(2,788 Views)