>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