Expand Minimize

Range.Interior Property (Excel)

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

expression .Interior

expression A variable that represents a Range object.

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

Sub SetColor() 
 
 Worksheets("Sheet1").Range("A1").Interior.ColorIndex = 8 ' Cyan 
 
End Sub
Show:
© 2014 Microsoft