0
Reply

Manipulate merged fields in Word document using C#

Michael

Michael

Jul 24 2015 7:20 AM
478
Hello Everyone,
 
 
I need your assistance for my problem. I have a word document which contains merged fields and another word document with text with specific format. I need to read/get the text from one document keeping the format and write/type this text in one of the merged fields of the first word document.
 
Please note that I can read/get the text as object but I couldn't write it as word wordApp.Selection.TypeText(string value) allows only string variables.
 
 
Thank you in advance.