Edit

Share via


Pattern property (Excel Graph)

For the ChartFillFormat object, returns or sets the fill pattern. Read-only MsoPatternType.

For the Interior object, returns or sets the interior pattern. Read/write Variant.

Syntax

expression.Pattern

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

Example

This example adds a crisscross pattern to the interior of the plot area.

myChart.PlotArea.Interior.Pattern = xlPatternCrissCross

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.