Word Automation/ Populating a word document template

Hello,
I’m trying to populate a template in word with different variables which are picked from a web app. e.g fill Name with “Var A”, Nationality with “Var B”… etc. I’ll appreciate any help i will be able to get on this.

you can have this as a table structure, and the data which you extracted can go to the particular row using the row.item(0).tostring=“-Constant name-” then assign row.item(1).tostring= “-Data exatrcted-” write the data table to excel just copy and past it to Word:P

If you want to maintain the Document Format, just use Replace Text activity.
Example:
image

Your template should look like this.

image

4 Likes

Thanks for your response. This was what i ended up doing.

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.