visual studio 2008 - Using the Office Interop for Word and Outlook 2007 in VB.NET -
I need to interop in my programs to automate many tasks in Word and Outlook. Does anyone know a good place to start? My goal is to close the mail merge, create several separate files and save them accordingly, email different files to different people depending on what they want them to do.
I am currently using Visual Studio 2008 and Office 2007 and am using vb.net to write my programs.
A good way to get started is to use the macro editor to record those steps You are trying to demonstrate that you can generate the generated macro code and modify it for your purposes. Click on the name of the function and variable that you do not know about purpose and press "F1" to get contextual support.
Comments
Post a Comment