Word Automation/ Populating a word document template


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