Export (0) Print
Expand All
Expand Minimize
0 out of 2 rated this helpful - Rate this topic

Range.Interior Property

Office 2007
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.

Visual Basic for Applications
Sub SetColor()

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

End Sub



Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.