Interior.PatternColor Property (Word)

Returns or sets the color of the interior pattern as an RGB value. Read/write Variant .

Syntax

expression. PatternColor

expression A variable that represents an 'Interior' object.

Example

The following example enables up and down bars, then adds a criss-cross pattern to the down bars and sets the pattern color to blue, for the first chart group of the first chart in the active document.

With ActiveDocument.InlineShapes(1) 
 If .HasChart Then 
 With .Chart.ChartGroups(1) 
 .HasUpDownBars = True 
 .DownBars.Interior.Pattern = xlPatternCrissCross 
 .DownBars.Interior.PatternColor = RGB(0, 0, 255) 
 End With 
 End If 
End With

See also

Interior Object