Thank you for your response. By the way, I'm using Office 2000 for the
automation, but are there any mailmerge improvements in later
versions? I'm more than a little miffed that I don't have good
programmatic control over mailmerge automation. Of course, I could
just do manual merge by scanning bookmarks and dropping the data in.
Not exactly efficient but at least I could get it to work.
Well, a lot of things certainly changed between Word 2000 and Word 2002, but
you will have to judge for yourself which of the changes are improvements.
As far as the programmability side is concerned, the main changes are
a. there are now Mailmerge events which fire pre-merge, pre-record,
post-merge etc. and let you manipulate the mail merge main document before
processing each data source record
b. because 2002 has a lot of new stuff to do with connecting to OLEDB data
sources there is now an extra (rather poorly documented)parameter in
OpenDataSource that specifies a connection subtype
c. users can review the list of records to be merged and include/exclude
them individually
However, as far as I know there are no changes to the way Word handles
missing mail merge data sources when the document is opened, names that
aren't in the data source, etc.
> Of course, I could
> just do manual merge by scanning bookmarks and dropping the data in.
> Not exactly efficient but at least I could get it to work
If you want to maintain control that's probably the best way to go.
--
Peter Jamieson - Word MVP
> Thank you for your response. By the way, I'm using Office 2000 for the
> automation, but are there any mailmerge improvements in later
> versions? I'm more than a little miffed that I don't have good
> programmatic control over mailmerge automation. Of course, I could
> just do manual merge by scanning bookmarks and dropping the data in.
> Not exactly efficient but at least I could get it to work.
Brent - 20 Nov 2003 17:22 GMT
Thanks for all your help.