IsObject Function |
Main Menu |
Syntax
IsObject(expression)
The expression argument can be any expression.
Remarks
IsObject returns True if expression is a variable of Object subtype or a user-defined
object; otherwise, it returns False.
The following example uses the IsObject function to determine if an identifier represents an object variable:
Dim MyInt, MyCheck, MyObject
Set MyObject = Me
MyCheck = IsObject(MyObject) ' Returns True.
MyCheck = IsObject(MyInt) ' Returns False.
related to
IsArray IsDate
IsEmpty IsNull
IsNumeric VarType
|