Returns an object that represents either a single chart group (a ChartGroup object, Syntax 1) or a collection of all the chart groups in the chart (a ChartGroups object, Syntax 2). The returned collection includes every type of group.
Syntax 1
expression.ChartGroups(Index)
Syntax 2
expression.ChartGroups
expression Required. An expression that returns a Chart object.
Index Optional Variant. The chart group number.