Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
20 Resume without error
Collapse the table of content
Expand the table of content

Visual Basic for Applications Reference

Visual Studio 6.0

Resume without error (Error 20)

See Also    Specifics

A Resume statement can only appear within an error handler and can only be executed in an active error handler. This error has the following causes and solutions:

  • You placed a Resume statement outside error-handling code.

    Move the statement into an error handler, or delete it.

  • Your code jumped into an error handler even though there was no error.

    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.

© 2015 Microsoft