Guest_imported
New member
- Jan 1, 1970
- 0
I've written an automatic mail-merge macro with the following input when opening the document:
Private Sub Documant_open()
With ActiveDocument.MailMerge
.Destination = wdSendToPrinter
.Execute
End With
Application.Quit
End Sub
It work perfectly, except that after merging it comes up with the printer options and then before closing a save prompt. How can I stop this? I've tried to find code to operate the return key, I've tried recording a macro instead (but it didn't work as well)... PLEASE HELP!!!
Private Sub Documant_open()
With ActiveDocument.MailMerge
.Destination = wdSendToPrinter
.Execute
End With
Application.Quit
End Sub
It work perfectly, except that after merging it comes up with the printer options and then before closing a save prompt. How can I stop this? I've tried to find code to operate the return key, I've tried recording a macro instead (but it didn't work as well)... PLEASE HELP!!!