DimensionCount

Public Function DimensionCount(ByVal Array As Array()) As Long

Returns the number of dimensions (1+) for the specified array.

Dim lArray As String(3,3)
SendDebug DimensionCount(lArray) 'Prints 2, because 2-dimensional

See also: