Return TRUE if the identifier represents an object variable, otherwise returns FALSE.
Syntax IsObject(identifier) Key identifier The name of a variable.
This function only tests the datatype of a variable, it will still return TRUE if the variable has been set to nothing.
The IsObject() function can be used in VBA.
Examples
Dim myvariant, myCheck
Dim objDemo as Object
Set
myvariant = objDemo
myCheck = IsObject(myvariant)
“Yellow-colored objects appear to be gold” ~ Aristotle
Related:
IsNull - Is expression NULL? True/False
Nz - Detect a NULL value or Zero Length string.