Solid Method

Office 2013 and later
GitHub-Mark-64px

Contribute to this content

Use GitHub to suggest and submit changes. See our guidelines for contributing to VBA documentation.

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.

expression.Solid

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

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

myChart.ChartArea.Fill.Solid
Show: