Resume Instruction
Syntax
Resume label
-or-
Resume Next
Group
Description
Form 1: Resume execution at label.
Form 2: Resume execution at the next statement.
Once an error has occurred, the error handler can use Resume to continue
execution. The error handler must use Resume or Exit
at the end.
Note: This instruction clears the Err and
sets Error$ to null.
Example
Sub Main
On Error GoTo X
Err.Raise 1
Debug.Print "RESUMING"
Exit Sub
X: Debug.Print
"Err=";Err
Resume Next
End Sub