Trouble with accessing picture in Word
-------------------------------
I have an image (Image1) in a table of the word document.
when I write ObjWdDoc.Image1. (VB 6) it doesn't provide a list of properties for Image1!!
The same for img. if I use:
VB Code:
Dim il As InlineShape
Dim img As Image
Set il = objDoc.InlineShapes(1)
Set img = il.OLEFormat.Object
Trying:
VB Code:
Dim il As InlineShape
Dim img As Object
For Each il In objWdDoc.InlineShapes
MsgBox (il.OLEFormat.ClassType)
Next il
the result is forms.image.1
So how can I refer to it and set the picture?
-------------------------------