Miscellaneous Constants

Office VBScript

Microsoft® Visual Basic® Scripting Edition Miscellaneous Constants  Language Reference 
Version 2 



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
vbObjectError -2147221504 User-defined error numbers should be greater than this value, for example,
Err.Raise Number = vbObjectError + 1000