Table of contents
TOC
Collapse the table of content
Expand the table of content

SeriesCollection.Item Method (Project)

office 365 dev account|Last Updated: 6/12/2017
|
1 Contributor

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

NameRequired/OptionalData typeDescription
IndexRequiredVariantThe 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
© 2018 Microsoft