Item Method (ChartGroups Collection)

Applies To

ChartGroups collection object.

Description

Returns a single ChartGroup object from a ChartGroups collection.

Syntax

expression.Item(Index)

expression Required. An expression that returns a ChartGroups object.

Index Required Variant. The index number of the chart group.

Example

This example adds drop lines to chart group one on chart sheet one.

Charts(1).ChartGroups.Item(1).HasDropLines = True