VBA IsObject Function: The IsObject function in VBA returns a Boolean value showing whether the specified variable represents an Object variable type or not.

Syntax

Parameter

Expression (required)– This parameter represents the variable that you want to check.

Return

This function returns a Boolean value True if the given expression represents an Object variant type else it returns False.

Example 1

Output

True

VBA IsObject Function

Example 2

Output

False

VBA IsObject Function

Example 3

Output

VBA IsObject Function

Pin It on Pinterest

Share This