Skip to main content

Range.Interior property

Table of contents
  1. Syntax
  2. Example

Returns an Interior object that represents the interior of the specified object.

Syntax

expression.Interior

expression A variable that represents a Range object.

Example

This example sets the interior color for cell A1 on Sheet1 to cyan.

Worksheets("Sheet1").Range("A1").Interior.ColorIndex = 8 ' Cyan 

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>