Edit

Share via


Solid method (Excel Graph)

Sets the specified fill to a uniform color. Use this method to convert a gradient, textured, patterned, or background fill back to a solid fill.

Syntax

expression.Solid

expression Required. An expression that returns one of the objects in the Applies To list.

Example

This example converts the chart area fill to a solid color.

myChart.ChartArea.Fill.Solid

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.