S
Smriti
When I try to access the object property of an OLEFormat,
it gives me an error saying "No such interface supported".
Here's a snippet of the code:
dim chart as graph.chart
dim oShape as word.shape
oShape = ShapeRange(1)
chart = ctype(oShape.OLEFormat.object,graph.chart)
Though I've seen a number of codes on the net which try to
do the same thing. Where am I going wrong ?
it gives me an error saying "No such interface supported".
Here's a snippet of the code:
dim chart as graph.chart
dim oShape as word.shape
oShape = ShapeRange(1)
chart = ctype(oShape.OLEFormat.object,graph.chart)
Though I've seen a number of codes on the net which try to
do the same thing. Where am I going wrong ?