IsArray Function
SyntaxGroupIsArray(expr)
Variable InfoDescription
Return the True if expr is an array of values.
See Also
Parameters Description expr A array variable or a variant var can contain multiple of values.
TypeName, VarType
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