Resume without error
A Resume
statement appeared outside error-handling code, or the code jumped into an error handler even though there was no error.
To correct this error
Move the
Resume
statement into an error handler, or delete it.Jumps to labels cannot 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 anOn Error GoTo
statement, change the line label to agree with its intended target.
See also
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for