Partager via


Series.Paste Method (PowerPoint)

Pastes a picture from the Clipboard as the marker on the selected series.

Version Information

Version Added: PowerPoint 2007

Syntax

expression .Paste

expression A variable that represents a Series object.

Remarks

You can use this method on column, bar, line, or radar charts, and it sets the MarkerStyle property to xlMarkerStylePicture.

Example

Note

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

The following example pastes a picture from the Clipboard into series one for the first chart in the active document.

With ActiveDocument.InlineShapes(1)

    If .HasChart Then

        .Chart.SeriesCollection(1).Paste

    End If

End With

See Also

Concepts

Series Object

Series Object Members