Pinaceous
Well-known Member
- Joined
- Jun 11, 2014
- Messages
- 1,124
- Office Version
- 365
- Platform
- Windows
Hi All,
In calling xlDialogPrinterSetup from:
When the PrintOut dialog icon is then presented on the screen, if a user cancels this portion of the sub's action; How do I provide:
Thanks,
Pinaceous
In calling xlDialogPrinterSetup from:
Code:
Sub PromptPrinter()
If Application.Dialogs(xlDialogPrinterSetup).Show = True Then
Sheets("Data").PrintOut From:=1, To:=12
End Sub
When the PrintOut dialog icon is then presented on the screen, if a user cancels this portion of the sub's action; How do I provide:
Code:
'MsgBox "Canceled Print"
Thanks,
Pinaceous