property Groups.ItemByPos (Position as Long) as Group
Retrieves the group given its position.

TypeDescription
Position as Long A long expression that indicates the position of the requested group
Group A Group object being accessed by its position.

Use the ItemByPos property to access the Group object by its position.