property Items.LastVisibleItem ([Partially as Variant]) as Long
Retrieves the index of the last visible item.

TypeDescription
Partially as Variant A boolean expression that indicates whether the item is partially visible.
Long A long expression that indicates the index of the last visible item.

The LastVisibleItem property retrieves the index of last item that fits the client area. Use the FirstVisibleItem and NextVisibleItem properties to enumerate the items that fit the client area.