Hi
I have some Word documents that are Mail Merged to Access queries. I've written some VBA to an Access form which opens each document, prints them all and then closes Word.
It all works fine apart from the fact that for each document, you manually have to click "OK" each time on the Print Preview pane.
Does anyone know of any code that will stop the user having to do this? The lines I'm using to print the documents are below:
WordDoc.MailMerge.Destination = wdSendToPrinter
WordDoc.MailMerge.Execute
Many thanks
Graham
I have some Word documents that are Mail Merged to Access queries. I've written some VBA to an Access form which opens each document, prints them all and then closes Word.
It all works fine apart from the fact that for each document, you manually have to click "OK" each time on the Print Preview pane.
Does anyone know of any code that will stop the user having to do this? The lines I'm using to print the documents are below:
WordDoc.MailMerge.Destination = wdSendToPrinter
WordDoc.MailMerge.Execute
Many thanks
Graham