What is the simplest VBA code to exit a sub using On Error?
Thanks, mikeburg
What is the simplest VBA code to exit a sub using On Error?
Thanks, mikeburg
Do uou mean like this
![]()
Please Login or Register to view this content.
Hope that helps.
RoyUK
--------
For Excel Tips & Solutions, free examples and tutorials why not check out my web site
Free DataBaseForm example
Hello Mikeburg,
The easiest thing to do is jump to a line label at the end of your code. Place the line label before the End Sub statement.
Sincerely,![]()
Please Login or Register to view this content.
Leith Ross
I see what you mean.
I thought something like On Error Exit Sub?
Thanks, mikeburg
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks