1.

How to clear an error in VBScript?

Answer»

Err.Clear clear an error.

Example −

Err.Raise 6   ' Raise an overflow error.MsgBox "Error # " & CStr(Err.Number) & " " & Err.DescriptionErr.Clear   ' Clear the error.


Discussion

No Comment Found