Click here to Skip to main content
15,886,030 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi there,

I have the following situation: I have a template for a Word document (let's say a document such as a vacation application). I want to add tokens such as <name>, <job> and so on and when I click a form control, I want the program to replace the tokens with data from my C# form and open the Word document with the completed values instead of tokens.

I have searched the web and I don't want the XML approach if it's possible.

Thanks in advance for your answers.
Posted
Comments
Member 10861271 23-Jul-14 6:26am    
Hi all,

I am storing the training ratings and Remarks into the database. From that inserted data i need to fill my word document template.

Thanks in advance for your answers.

1 solution

Hi,

I finally solved it. I found a very good tutorial on http://www.techrepublic.com/blog/howdoi/how-do-i-modify-word-documents-using-c/190[^] []. Hope it helps others as it helped me
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900