AreaGroups Method

Microsoft Excel Visual Basic

AreaGroups Method

       

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

expression.AreaGroups(Index)

expression   Required. An expression that returns a Chart object.

Index   Optional Variant. The chart group number.

Example

This example turns on drop lines for the 2-D area chart group.

Charts(1).AreaGroups(1).HasDropLines = True