ErrorMode Property
Description
Represents the error mode of a ONERROR object.
Property type
Read-write property
Syntax
Visual Basic |
---|
Public Property ErrorMode As ENUM_ERROR_MODES |
Return Type
Read/write Long.
Remarks
This property only affects objects of type ONERROR. For other objects, setting the property has no effect, and getting it always returns zero.
The valid values for ErrorMode: 0 for off, 1 for jump to label, and 2 for set a variable.
See Also