Shape with "in line with text" can't be found

F

fmamstr

When I insert a picture into Word as Word.Shape, I set the "Text Wrapping" as
"In line with Text" by Word GUI, after that in programming, the shape can't
be found in "Document.Shapes" collection any more. Does anyone know how to
solve this problem?
 
G

Graham Mayor

The picture will then be an InlineShape
If you want the picture as an inline shape why don't you insert it as one.
e.g.
ActiveDocument.InlineShapes.AddPicture "D:\Path\Picture.jpg"

--
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
Graham Mayor - Word MVP


<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
 
Top