I thought it would be pretty straight forward to use the Print Dialog but I
am having a problem with the CANCEL function.
I set commondialog1.cancelerror = True but I still get an error 32755
saying the the cancel button was pressed. I know that! I thought that this
was supposed to catch that press and not give an error?
If i set Cancelerror to be False, it prints whether OK or Cancel is
Here is the code:
Private Sub SubPrint()
CommonDialog1.CancelError = True
On Err GoTo Dialog_Error
If cdlCancel Or Err.Number = 32755 Then
MsgBox " cancelled print"
Thanks for any help.