method Groups.Remove (Index as Variant)
Removes a specific member from the collection.

TypeDescription
Index as Variant A long expression that indicates the the group's index, or a string expression that indicates the group's caption.

Use the Remove method to remove a specific Group object. The RemoveGroup event is fired when the user removes a group. Use the Clear method to clear the entire Groups collection. The items in a group are removed too, when the Groups is removed. Use the RemoveItem method to remove an item from the group. Use the Index property to retrieve the index of the group. Use the Caption property to specify the caption of the group.