[solved] Word Automation: Insert a Picture in a Bookmark

ta5ta5 Member Posts: 1,164
Hi

I have a report printing some information to word using bookmark.

This works like a charm:
//BookmarkText[] contains the text to be inserted in the bookmark
//Bookmark[] contains the name of the bookmark

WordBookmarks.Item(Bookmark[iCount]).Range.InsertAfter

We now need to print a picture to the word sheet. Is it possible to use bookmarks for this also?
Btw: The Picture is a JPG-File and it is located in the file system.

Any information on this will be appreciated.

Thanks

Thomas

Comments

Sign In or Register to comment.