Returns a Boolean value indicating whether a variable is an array.
Syntax IsArray(Variable_Name) Key Variable_Name Any variable.
IsArray returns True if the variable is an array; otherwise, it returns False. IsArray is especially useful with variants containing arrays.
Examples
Test whether MyVariable is an array:
Dim MyVariable
Dim MyArray(3)
MyArray(0) = "Sunday"
MyArray(1) = "Monday"
MyArray(2) = "Tuesday"
MyVariable = IsArray(MyArray) ' MyVariable contains "True".
“The trouble with Buddhism ?-- in order to free oneself of all desire, one has to desire to do so” ~ Henry Miller
Related:
IsNumeric - Is expression a Numeric?