Click here to Skip to main content
15,910,083 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,
I am developing a application that contains word(.doc) file.Now I want to pass parameter from my C# application(desktop based)into word(.doc) file under button event.
My doc file design like this and this is a table layout.

I.D. Number     :	[bill]        Date: [Date]
Name of the patient  :	[Name]	      Age : [Age]	Sex:	[S]
Referred by          :	[Refdby]
Specimen             :	[specimen]           


those third bracket value will be passed from User interface.How can i do this.
Any help thanks in advance.

Masud
Posted

1 solution

See here[^].
 
Share this answer
 
Comments
Mahmudunnabi 14-Jul-10 6:53am    
when I add reference 11 word object library,I searched and get three reference will be showed and I got,word,VBIDE,and office core but (word) built in word can not access what u show up msdn support center.please tell what need to do more.
Rustam Ansari 2-Apr-15 9:11am    
Having a same problem passing value C# to word and also add Header and Footer if you have any solution please let me know

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