IsObject

This function determines whether an expression references a valid Automation object.

Syntax

IsObject(expression)

Parameters

expression
Any expression.

Return Values

Returns True if expression is a variable of Object subtype or a user-defined object; otherwise, it returns False.