This object is a Microsoft extension and is only supported in Internet Explorer.
VBArray.ubound method returns the highest index value used in the specified dimension of the VBArray.
- A VBArray object.
- The dimension of the VBArray for which the higher bound index is wanted. If omitted,
uboundbehaves as if a 1 was passed.
If the VBArray is empty, the
ubound method returns undefined. If
dim is greater than the number of dimensions in the VBArray, or is negative, the method generates a "Subscript out of range" error.
Supported in the following document modes: Quirks, Internet Explorer 6 standards, Internet Explorer 7 standards, Internet Explorer 8 standards, Internet Explorer 9 standards, and Internet Explorer 10 standards. Not supported in Windows 8.x Store apps.
Applies To: VBArray Object