PatternColor Property

Applies To

Interior Object.

Description

Returns or sets the interior pattern color as an RGB value. Read-write.

See Also

Color Property, Pattern Property, PatternColorIndex Property.

Example

This example sets the interior pattern color for rectangle one on Sheet1.


With Worksheets("Sheet1").Rectangles(1).Interior
    .Pattern = xlGrid
    .PatternColor = RGB(255,0,0)
End With