편집

다음을 통해 공유


Series.Points method (PowerPoint)

Returns a collection of all the points in the series.

Syntax

expression.Points (Index)

expression A variable that represents a 'Series' object.

Parameters

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

Return value

A Points object that represents all the points in the series.

Example

Note

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

The following example applies a data label to point one in series one of the first chart in the active document.

With ActiveDocument.InlineShapes(1)

    If .HasChart Then

        .Chart.SeriesCollection(1).Points(1).ApplyDataLabels

    End If

End With

See also

Series Object

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.