Dr. Dobb's Sourcebook May/June 1997
(a) On Error Resume Next Some_Operation If Err.Number <> 0 Then ... Another_Operation If Err.Number<> 0 Then ... . . . End Sub (b) On Error GoTo ErrHandle Some_Operation Another_Operation Exit Sub ErrHandle: ' Put Error code here End Sub