Dear all,
I saw so programs use the code "On error goto 0". What does it mean actually and when should I apply
this code to my vba program?
Thanks in advance
--
Dear all,
I saw so programs use the code "On error goto 0". What does it mean actually and when should I apply
this code to my vba program?
Thanks in advance
--
As written in VBA help
Disables any enabled error handler in the current procedure.
--
HTH
RP
(remove nothere from the email address if mailing direct)
"*¡¸ My-Ricky ¡¸*" <[email protected]> wrote in message
news:[email protected]...
> Dear all,
>
> I saw so programs use the code "On error goto 0". What does it mean
actually and when should I apply
> this code to my vba program?
>
> Thanks in advance
>
>
>
>
> --
>
>
>
If there had been an error handler, such as On error resume next, or on
error goto MyLabel, then after this statement is executed, "normal" error
handling is reinstated -- that is, as if there were no error handler; that
is, if you get an error, you will see Excel's default/normal/usual error
message.
"*¡¸ My-Ricky ¡¸*" <[email protected]> wrote in message
news:[email protected]...
> Dear all,
>
> I saw so programs use the code "On error goto 0". What does it mean
> actually and when should I apply
> this code to my vba program?
>
> Thanks in advance
>
>
>
>
> --
>
>
>
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks