Visual Basic for Applications Reference

IsArray Function

See Also Example Specifics

Returns a Boolean value indicating whether a variable is an array.

Syntax

IsArray(varname)

The required varnameargument is an identifier specifying a variable.

Remarks

IsArray returns True if the variable is an array; otherwise, it returns False. IsArray is especially useful with variants containing arrays.