Share via


Interior.Pattern Property

Excel Developer Reference

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

See Also