Series.MarkerStyle Property (PowerPoint)
Returns or sets the marker style for a point or series in a line chart, scatter chart, or radar chart. Read/write XlMarkerStyle.
Version Information
Version Added: PowerPoint 2007
Syntax
expression .MarkerStyle
expression A variable that represents a Series object.
Remarks
MarkerStyle can be one of the following XlMarkerStyle constants:
xlMarkerStyleAutomatic—Automatic markers.
xlMarkerStyleCircle—Circular markers.
xlMarkerStyleDash—Long bar markers.
xlMarkerStyleDiamond—Diamond-shaped markers.
xlMarkerStyleDot—Short bar markers.
xlMarkerStyleNone—No markers.
xlMarkerStylePicture—Picture markers.
xlMarkerStylePlus—Square markers with a plus sign.
xlMarkerStyleSquare—Square markers.
xlMarkerStyleStar—Square markers with an asterisk.
xlMarkerStyleTriangle—Triangular markers.
xlMarkerStyleX—Square markers with an X.
Example
Note
Although the following code applies to Microsoft Word, you can readily modify it to apply to PowerPoint.
The following example sets the marker style for series one for the first chart in the active document. You should run the example on a 2-D line chart.
With ActiveDocument.InlineShapes(1)
If .HasChart Then
.Chart.SeriesCollection(1).MarkerStyle = xlMarkerStyleCircle
End If
End With