UserValue Property
Specifies the value passed by the THROW statement used to generate an exception. You can use this value as an object reference. Read/write at run time.
Exception.UserValue
Return Value
Variant data type
Remarks
Applies To: Exception Class
See Also
Reference
Exception Object Properties, Methods, and Events
TRY...CATCH...FINALLY Command