Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Making a graph
Message
From
27/09/2001 13:25:55
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
26/09/2001 09:43:04
General information
Forum:
Visual FoxPro
Category:
Object Oriented Programming
Title:
Miscellaneous
Thread ID:
00525325
Message ID:
00561559
Views:
33
>I posted a message yesterday but I think it was lost because of UT problems, so I'll ask again.
>In VFP I want to bring up an existing Word document that contains a MS Chart and then be able to manipulate the chart from VFP.
>i.e.
>loWord = createobject("word.application")
>loWord.Documents.open("C:\junk.doc") && junk contains a MS Chart
>Then get an object reference to the chart
>Then be able to manipulate the datagrid, etc. of the chart through the object reference.
>
>How do I do this?
>How do I get the object reference?
>
>This ought to be easy but I can't figure it out.
>Thanks
>

Honestly not sure, I never tried it. Sounds like you would select it first then :

oChart = oWord.Selection.ShapeRange(1).OLEFormat.Object

Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform