![]() |
|
#2
|
||||
|
||||
|
Hi Phil,
You could suppress that message via Application.DisplayAlerts = False, but that would also cause Word to convert the document from a mailmerge main document to an ordinary document (but with the mergefields in situ). However, since you're driving this from Access, why are you using a Word mailmerge main document? If you use an ordinary document with the mailmerge fields etc (eg delete your Word mailmerge main document's mailmerge header), then you can programmatically make it a mailmerge main document and add the query when you open it. When you're finished processing, close the original Word document without saving.
__________________
Cheers, Paul Edstein [Fmr MS MVP - Word] |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
Automating Outlook from Access
|
RMittelman | Outlook | 1 | 02-07-2011 03:11 PM |
| Automating document updates with new text | wordfoolish2 | Word | 0 | 01-04-2011 01:01 PM |
| Automating an address from an Abbreviation | Panzer | Word | 0 | 04-12-2010 06:11 AM |
| Access MailMerge DataSource in VB | advin | Mail Merge | 1 | 01-04-2010 01:34 AM |
| Automating Cel Population of .jpg | skoz55 | Excel | 0 | 01-21-2009 03:43 AM |