ForeColor Property
Applies To
ChartFillFormat object, FillFormat object, LineFormat object, ShadowFormat object.
Description
ChartFillFormat object: Returns a ChartColorFormat object that represents the specified fill foreground or solid color. Read-only.
All other objects: Returns a ColorFormat object that represents the specified fill foreground or solid color. Read-only.
Example
This example sets the foreground color, background color, and gradient for the chart area fill on chart one.
With Charts(1).ChartArea.Fill
.Visible = True
.ForeColor.SchemeColor = 15
.BackColor.SchemeColor = 17
.TwoColorGradient msoGradientHorizontal, 1
End With