Interior Object

Microsoft Excel Visual Basic

Interior Object

         
Multiple objects Interior

Represents the interior of an object.

Using the Interior Object

Use the Interior property to return the Interior object. The following example sets the color for the interior of cell A1 to red.

Worksheets("Sheet1").Range("A1").Interior.ColorIndex = 3