SeriesCollection.Item method (Project)
Gets an individual Series object in the series collection. Read-only Series.
expression A variable that represents a 'SeriesCollection' object.
|Index||Required||Variant||The number or name of the series collection.|
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.