Illegal ON ERROR statement

In an On_Error...GoTo statement, the element that follows the GoTo keyword is neither a label nor an integer constant equal to zero, which is what is required.

Change the element following the GoTo keyword to a label or to an integer constant equal to zero.