Interior.Pattern property (Excel)

Returns or sets a Variant value, containing an XlPattern constant, that represents the interior pattern.

Syntax

expression.Pattern

expression A variable that represents an Interior object.

Example

This example adds a crisscross pattern to the interior of cell A1 on Sheet1.

Worksheets("Sheet1").Range("A1"). _ 
 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.