Since this constant is built into VBScript, you don't have to define it before using it. Use it anywhere in your code to represent the values shown.

Constant Value Description



User-defined error numbers should be greater than this value, for example,

CopyCode imageCopy Code
Err.Raise Number = vbObjectError + 1000


See Also