Error Constant

vbObjectError is used as a base error number for user-defined errors:.

Constant

Value

Description

vbObjectError

-2,147,221,504

The base error number, to which a specific number is added when a user-defined error is raised. For example:

Err.Raise vbObjectError + 102

Get VBScript in a Nutshell now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.