Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

Point.MarkerForegroundColor Property

Office 2007
Sets the marker foreground color as an RGB value or returns the corresponding color index value. Applies only to line, scatter, and radar charts. Read/write Long.



expression   A variable that represents a Point object.


This example sets the marker background and foreground colors for the second point in series one in Chart1.

Visual Basic for Applications
With Charts("Chart1").SeriesCollection(1).Points(2)
    .MarkerBackgroundColor = RGB(0,255,0)    ' green
    .MarkerForegroundColor = RGB(255,0,0)    ' red
End With

Community Additions

© 2015 Microsoft