property Items.ItemCount as Long

Retrieves the number of items.

TypeDescription
Long A long value that indicates the number of items into the Items collection.

The ItemCount property counts the items in the collection. Use ChildCount to get the number of child items. 

The following sample enumerates all control items:

Dim i As Long, n As Long
With Group.Items
    n = .ItemCount
    For i = 0 To n - 1
        Debug.Print .ItemByIndex(i)
    Next
End With