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

See Also



These constants are only available when your project has an explicit reference to the appropriate type library containing these constant definitions. For VBScript, you must explicitly declare these constants in your code.

Constant Value Description
vbObjectError -2147221504 User-defined error numbers should be greater than this value, for example,
Err.Raise Number = vbObjectError + 1000