On Error statement The purpose of this statement is to enable or disable the error handler. General usage is as follows: On Error Resume Next On Error GoTo 0