property Groups.ItemByPos (Position as Long) as Group
Returns a specific Group of the Groups collection, giving its position.

TypeDescription
Position as Long A long expression that specifies the position of the Group being requested 
Group The Group object being requested
The ItemByPos/Count properties can be used to enumerate the Groups as they are displayed. The Visible property specifies whether a Group is visible or hidden. The ItemByPos property gives the Group by position, no matter if it is visible or hidden.  The ItemByIndex/Count properties can be used to enumerate the Groups as they has been added. The Count property counts the number of Group objects in the Groups collection. The Item property can be used to access a Group object giving its identifier. Use the Add method of the Groups collection to add new groups to the control.