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 Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How do I automate the MS Office applications, or work with Office documents, from Visual C++?

Microsoft Office

How do I automate the MS Office applications, or work with Office documents, from Visual C++?

by  KeithBrautigam  Posted    (Edited  )
My usual approach to this kind of problem is to try and pass the task off to a brainy college intern.:) But assuming that isn't an option, you might want to try the following two Microsoft links.

Link #1: Microsoft Office Development with Visual Studio
http://msdn.microsoft.com/library/default.asp?URL=/library/techart/VSOfficeDev.htm

Link #2: Automating Microsoft Office 97 and Microsoft Office 2000
http://msdn.microsoft.com/library/default.asp?URL=/library/techart/offaut.htm


Also, CodeGuru has a brief sample that shows how to accomplish one simple task: printing a Word document. The general principles shown should apply regardless of what app you're using or what task you're performing.
http://codeguru.earthweb.com/interface/WordAutomation.html
Register to rate this FAQ  : BAD 1 2 3 4 5 6 7 8 9 10 GOOD
Please Note: 1 is Bad, 10 is Good :-)

Part and Inventory Search

Back
Top