however, if you have pre-defined bookmarks then to add an image at the bookmark, use the bookmark collection:
[tt]
activedocument.Bookmarks("myBookmark".Range.InlineShapes.AddPicture FileName:= _
"E:\myFile.gif" _
, LinkToFile:=False, SaveWithDocument:=True
I tried the code above. It looks well and I think it works, but I get errormsg: not finding external server (462). Can't understand this. First time he's inserting the file, but after this he can't find an external server. I never need an external server.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.