The help file says this in "Raise Method"

(both Visual Basic-defined and user-defined errors) are in the range 0–65535
.....
For example, to generate the error number 513, assign vbObjectError + 513 
to the Number property.
When I "? vbObjectError" in the immediate with I get "-2147221504". Obviously -2147221504 +513 it is not in the range 0-65535.
What am I missing?