Partager via


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

See Also

Concepts

Interior Object

Interior Object Members