Skip to main content

Interior.Pattern property

Table of contents
  1. Syntax
  2. Example

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



expression A variable that represents an Interior object.


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

Worksheets("Sheet1").Range("D1").Interior.Pattern = xlPatternCrissCross

Leave a comment

Your email address will not be published. Required fields are marked *

Format your code: <pre><code class="language-vba">place your code here</code></pre>