Insert a image to word document in Bookmark section

I know we have Set bookmark Content activity for Word application which takes text/string as input but I would like to insert an image at bookmark section.

Add Image activity will also not work as it add image at end of document.

@Ashish_Maheshwari,

Maybe this will help out. You might have to install “AHKActivities” , see
Florent’s post near the bottom
and the “Run Auto Hot Key Script” activity if you don’t already have it.
Here’s some before-and-after pics and all the files.

You will have to adapt file paths and names for your system! It won’t be difficult.
Docx before:
docx-before-image

Docx after:

And the files (.xaml is also in the zip archive):

InsertImageInDocxBookmark.zip (103.1 KB)
InsertImageInWordBookmark-1.xaml (6.2 KB)

My system: Win7, Office 2016 64-bit

Good luck!
Winter

2 Likes

Hi @Ashish_Maheshwari

May I know how you resolved it.

Thanks,

Regards
Ashok