Access LBound function

Returns a Long containing the smallest available subscript for the indicated dimension of an array. The LBound function is used with the UBound function to determine the size of an array. Use the UBound function to find the upper limit of an array dimension. The default lower bound for any dimension is either 0 or 1, depending on the setting of the Option Base statement. The base of an array created with the Array function is zero; it is unaffected by Option Base. Arrays for which dimensions are set by using the To clause in a Dim, Private, Public, ReDim, or Static statement can have any integer value as a lower bound.

Syntax
LBound (arrayname, [ dimension ])