P
Preet
Any help would be most appreciated!
How would I say in a macro
"IF the user clicks on FilePrint or on Print, THEN close the document
without any changes"
also
"IF the user clicks on Exit, THEN close the document without any
changes"
But the code below - Automatically brings the dialogue box up - I want
the user to go to the dialogue box if they want:
With Dialogs(wdDialogFilePrint)
If .Display = -1 Then
ActiveDocument.Close wdDoNotSaveChanges, wdOriginalDocumentFormat,
False
..Execute
End If
End With
How would I say in a macro
"IF the user clicks on FilePrint or on Print, THEN close the document
without any changes"
also
"IF the user clicks on Exit, THEN close the document without any
changes"
But the code below - Automatically brings the dialogue box up - I want
the user to go to the dialogue box if they want:
With Dialogs(wdDialogFilePrint)
If .Display = -1 Then
ActiveDocument.Close wdDoNotSaveChanges, wdOriginalDocumentFormat,
False
..Execute
End If
End With