This documentation is archived and is not being maintained.

Interior.Pattern Property

Office 2007
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.

Visual Basic for Applications
Worksheets("Sheet1").Range("A1"). _
    Interior.Pattern = xlPatternCrissCross



Show: