Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

SchemeColor Property [Excel 2003 VBA Language Reference]

Office 2003

Returns or sets the color of a Color object as an index in the current color scheme. Read/write Integer.

expression.SchemeColor

expression Required. An expression that returns one of the above objects.

Returns or sets the color of a Color object as an index in the current color scheme. Read/write Long.

expression.SchemeColor

expression Required. An expression that returns one of the above objects.

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
		




Show: