Tests the value of an expression to determine whether it is a user-defined object, a product object, or an OLE Automation object.
IsObject ( expr )
expr
Any expression.
The IsObject function returns TRUE (-1) if the value of expr is an object (user-defined object, product object, or OLE Automation object) or NOTHING. Otherwise IsObject returns FALSE (0).