Move the statement into an error handler, or delete it.
Perhaps you misspelled a line label. Jumps to labels can't occur across procedures, so search the procedure for the label that identifies the error handler. If you find a duplicate label specified as the target of a GoTo statement that isn't an On Error GoTo statement, change the line label to agree with its intended target.
For additional information, select the item in question and press F1 (in Windows) or HELP (on the Macintosh).
GoTo Statement | On Error Statement | Resume Statement