Many run-time errors are trappable using the run-time error trapping statements, such as On Error GoTo Statement. To find the trapped error, use the Err Object variable. Err Object has five properties that may be examined. For details, see
Err Object variable section in
Object Variables.