Home |
Search |
Today's Posts |
#1
|
|||
|
|||
Macro to Print and Exit after Merge
I am trying to write a macro that merges, then prints and exits without
saving, when the merge is complete. I have the following, but it gives me a prompt whether or not to save before it exits. I would like it NOT to prompt, just exit without saving: Application.PrintOut FileName:="", Range:=wdPrintAllDocument, Item:= _ wdPrintDocumentContent, Copies:=1, Pages:="", PageType:=wdPrintAllPages, _ ManualDuplexPrint:=False, Collate:=True, Background:=True, PrintToFile:= _ False, PrintZoomColumn:=0, PrintZoomRow:=0, PrintZoomPaperWidth:=0, _ PrintZoomPaperHeight:=0 ActiveDocument.Close Does anyone know the command to close without prompting to save? Thanks in advance! |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
faxing from word 2003 mail merge | Mailmerge | |||
How do I update Word 2002 to create merged faxes? | Mailmerge | |||
print a doc without saving... | Microsoft Word Help | |||
Mail Merge Problem | Mailmerge |