method Group.RemoveItem (Index as Variant)
Removes an item given its index or given its caption.

TypeDescription
Index as Variant A long expression that indicates the index of item being removed, or a string expression that indicates the item's caption being removed

Use the RemoveItem to remove items in the group. When an item is removed the RemoveItem event is fired. Use the Clear method to clear the entire collection of items in the group. Use the Visible property to specify whether the item is visible or hidden. Use the ItemByPos property to get the item giving its position. Use the ItemHeight property to specify the height for all items in the group. Use the Count property to count the items in the group. Use the Item property to access an item giving its index or by its caption.