Edit

Share via


PatternColor property (Excel Graph)

Returns or sets the color of the interior pattern as an RGB value. Read/write Variant.

Syntax

expression.PatternColor

expression Required. An expression that returns an Interior object.

Example

This example sets the color of the interior pattern for the chart area.

myChart.ChartArea.Interior.PatternColor = RGB(255,0,0)

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.