Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I've noticed some erratic behavior on our network printers and I'm trying to
trap any potential errors and allow a user to select another printer if there is an error printing. This is my code: On Error GoTo Below Application.Dialogs(xlDialogPrinterSetup).Show If Below = True Then MsgBox "Please select another printer..." End If When I run the sub, I get a "Compile Error, Label not Defined" message. Can someone please point my mistake. Thanks, Ryan-- -- RyGuy |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
On Error GoTo 0 | Excel Programming | |||
Error Handling - On Error GoTo doesn't trap error successfully | Excel Programming | |||
on error goto | Excel Programming | |||
On Error Goto doesn't goto | Excel Programming | |||
On Error Goto doesn't goto | Excel Programming |