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


<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top