ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   On Error Goto 0 (https://www.excelbanter.com/excel-programming/380570-re-error-goto-0-a.html)

Ken Johnson

On Error Goto 0
 

Perico wrote:
What does this do that having no Error catcher would not do? How is this
used? In testing, it simply takes you to the error; but wouldn't having no
"On Error" expresion do the same thing? Or, is this used when you want to
trap an error in a specific part of your code?


It turns off error trapping, so that the previous On Error Resume Next
or On Error GoTo Label no longer has an effect.

Ken Johnson



All times are GMT +1. The time now is 09:53 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com