ExCode() as Integer
or
ExCode() as CclEPIExceptionCodes
Returns a value that indicates the current condition code.
Constants are available in the type library. Use the Visual Basic Object Browser to view them.