Interior.Pattern Property (Word)

Returns or sets a Variant value, containing an XlPattern constant, that represents the interior pattern.


expression. Pattern

expression A variable that represents an 'Interior' object.


The following example enables up and down bars, then adds a criss-cross pattern to the down bars and sets the pattern color to red, 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.PatternColorIndex = 3 
 End With 
 End If 
End With

See also

Interior Object