UBound Property

       

Returns the highest ordinal value of a control in a control array.

Syntax

object.UBound

The object placeholder represents an object expression that evaluates to an object in the Applies To list.

Remarks

UBound is equal to the Index property value of the last control in the array.