Automate Mailmerge with Vb.net

Joined
Jan 10, 2007
Messages
43,898
Location
In The Machine
Hi all,
I am attempting to automate a mailmerge (for email)*through word 2003.
I have already skimmed through the documentation here:
http://support.microsoft.com/kb/301656/
But it seems the sample code in that documentation does a lot*stuff I shouldn't have to do. And is a bit confusing.

The document I want to use for the merge*is already created.*The that will be used are also already placed in the document.

With that said, all I should have to do is set a datasource to the document and execute, right?

This is where I run into a problem.
In the documentation above another word document was used as the datasource.

I would prefer to do one of these options.

1.Set the datasource for the mail merge to a*data set, table, or view in my application.

2. Set the datasource to a query already*saved in an access 2003 database. However,*the query I want to use*will change.*Is it possible to*save a query in access 2003 through vb.net?

Could*someone please explain how I would automate a*mailmerge with*my conditions?

Thanks in advanced for any help.



More...

View All Our Microsoft Related Feeds
 
Back
Top