Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Exporting data to word 2003

Status
Not open for further replies.

bobi1

Programmer
Sep 12, 2003
3
IT
i want to export data from my program to a word document.
so i don't know how to make a connection of the programm with word2003.i need to find a way of transporting data.
first i have to start a new word document from my program,
there will be a menu where the user has to choose which field of the database to show in the document.and there should be even a run of the word formular when the program fills these chosen fields.
 
Check "Office COM C#" or "MS Office Automation C#" on a search engine to learn about the Office objects available to you, the coder.

For now, go to Project->Add Reference->COM tab and choose Microsoft Word 11.0 Object Library or whatever your version of Word is (actually, there may be a .NET reference for 2003, I don't know).

That should get you started.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top