Edit

Share via


Fill property (Excel Graph)

Returns a ChartFillFormat object that contains fill formatting properties for the specified chart. Read-only.

Syntax

expression.Fill

expression Required. An expression that returns a ChartFillFormat object.

Example

This example sets the fill format for the chart to the preset brass color.

With myChart.ChartArea.Fill 
 .Visible = True 
 .PresetGradient msoGradientDiagonalDown, 3, msoGradientBrass 
End With 

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.