VarArrayHighBound method returns the high bound for a particular dimension in the Arr array, which must be created with the
CreateVariantArray3 function. Use the
VarArrayLowBound functions to iterate through the elements of an array when the number of elements is unknown.
This method is available if the BuiltIn plugin is installed and enabled. The plugin is installed and enabled by default.
The method is applied to the following object:
The method has the following parameters:
The desired array whose elements are of the Variant type.
The index of the array's dimension whose high bound you want to get. The leftmost dimension has index 1, the second dimension index is 2, etc.
An integer value that means the high bound of the desired dimension of the specified array.