I have word template (Path:"c:\Word_template\Template.doc") in which I want to replace merge fields with the values from the text boxes in vb.net desktop application. Here is example:
In word template document I have:
<< First and Last name>>
In vb.net I have:
Textbox1 containing First and Last name
TextBox2 containing Address
TextBox3 cnatining Postal Code
I tried to find some code on the net which will do I want but with no success... I would appreciate your help a lot in order to provide me with code which will solve my problem...
Additionally, there is merge field in the same word template named << Detailed info>> which I would like to replace with my datagridview from my form in vb.net application... is it possibble and if yes I would appreciate a lot your help once more in order to make it works...