PDA

View Full Version : On Error GoTo Blah


Acecool
12-26-03, 02:18 PM
Private / Public Function Blah
On Error GoTo Blah
' Something else here
Blah:
End Function

How do I make Blah: an IF / Else?

Acecool
01-02-04, 12:28 AM
Solved.

Set the common dialog.CancelError = True

then On Error Goto Blah

Exit Function
Blah:
' Error code here
End Function