ColumnGroups Method

Applies To

Chart Object.

Description

Accessor. On a 2-D chart, returns an object that represents a single column chart group (a ChartGroup object, Syntax 1), or a collection of the column chart groups (a ChartGroups collection, Syntax 2).

Syntax 1

object.ColumnGroups(index)

Syntax 2

object.ColumnGroups

object

Required. The Chart object.

index

Required for Syntax 1. Specifies the chart group.

See Also

Column3DGroup Property.

Example

This example sets the subtype for column chart group one in Chart1.


Charts("Chart1").ColumnGroups(1).SubType = 3