Name

range.Interior

Synopsis

Returns an Interior object that represents the interior of the range. The following code changes the color of the specified range to red:

ActiveSheet.Range("A1:A5").Interior.ColorIndex = 3

Get Programming Excel with VBA and .NET now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.