IsArray Function
Syntax:
IsArray(var)
Group:
Variable Info
Description:
Return the True if var
is an array of values.
Parameter
Description
- ar A array variable or
a variant var can contain multiple of values.
See Also: TypeName,
VarType.
Example:
Sub Main
Dim X As Variant, Y(2) As Integer
Debug.Print IsArray(X) 'False
X = Array(1,4,9)
Debug.Print IsArray(X) 'True
X = Y
Debug.Print IsArray(X) 'True
End Sub