VBS : ERRORS
Program to Raise , lear and Ignore Error
Example
on error resume nextErr.Raise 6 ' Raise an overflow error.
MsgBox ("Error # " & CStr(Err.Number) & " " & Err.Description)
Err.Clear ' Clear the error.
MsgBox ("Error # " & CStr(Err.Number) & " " & Err.Description)
No comments:
Post a Comment