CommandBars Collection Object

Although most Microsoft Access collections are zero-based, all command bar collections are 1-based. Note, however, that you can use the For Each...Next syntax to iterate through the objects in a collection without having to worry about specific index numbers.