Err is a system variable that contains 0 if no error or an error number.
The value is reset by the On Error Resume Next statement On Error Resume Next ' do something If Err <> 0 then 'handle the error End If Some commonly occurring errors are:
try the following code to view all errors:
Related Statements: |