Does ON ERROR GOTO Handle_Name
In java does the following work
On error goto Handle_error
The problem is I get an error in "On error goto Handle_error" it says there is a syntax error is there any other way out apart from On error resume next
Re: Does ON ERROR GOTO Handle_Name
"On Error Resume Next" turns on VBS error handling.
"On Error Goto 0" turns off VBS error handling.
There is no other usage.
There are no GOTO type statements (unfortunately) in VBS.
You could try something like this...
If <ERROR_CONDITION> Then
Loop Until TRUE
This will do the loop only once, and will jump out if the error occurs, not doing the statements.
I don't know your exact needs, but this might work for you with a little modification.