SeriesCollection.Item method (Project)

Gets an individual Series object in the series collection. Read-only Series.

Syntax

expression.Item (Index)

expression A variable that represents a 'SeriesCollection' object.

Parameters

Name Required/Optional Data type Description
Index Required Variant The number or name of the series collection.

Example

The following example prints the name of the first series in the series collection of the specified active report, to the Immediate window of the VBE.

? ActiveProject.Reports("Simple scalar chart").Shapes(1).Chart.SeriesCollection.Item(1).Name

The Item method is not required in some cases; for example, the following example has the same result.

? ActiveProject.Reports("Simple scalar chart").Shapes(1).Chart.SeriesCollection(1).Name

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.