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

Chart.SeriesCollection Method (PowerPoint)

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

Returns all the series in the chart.


expression. SeriesCollection( Index )

expression A variable that represents a Chart object.

Return Value

A SeriesCollection object that represents all the series in the chart.


Note Although the following code applies to Microsoft Word, you can readily modify it to apply to PowerPoint.

The following example turns on data labels for series one of the first chart in the active document.

With ActiveDocument.InlineShapes(1)

    If .HasChart Then

        .Chart.SeriesCollection(1).HasDataLabels = True

    End If

End With

See also


Chart Object

© 2018 Microsoft