S
SITCFanTN
I'm using this code for a command button to open the print diolog box and
then close the form without saving it after it prints however it is not
working properly. The print dialog box displays but after I select my
printer, the document does not print. Any suggestions on why this is not
working. Thank you.
Private Sub CommandButton1_Click()
Dialogs(wdDialogFilePrint).Display
ActiveDocument.Close wdDoNotSaveChanges
End Sub
then close the form without saving it after it prints however it is not
working properly. The print dialog box displays but after I select my
printer, the document does not print. Any suggestions on why this is not
working. Thank you.
Private Sub CommandButton1_Click()
Dialogs(wdDialogFilePrint).Display
ActiveDocument.Close wdDoNotSaveChanges
End Sub