Share via


Style.IncludePatterns Property

Excel Developer Reference

True if the style includes the Color, ColorIndex, InvertIfNegative, Pattern, PatternColor, and PatternColorIndex interior properties. Read/write Boolean.

Syntax

expression.IncludePatterns

expression   A variable that represents a Style object.

Example

This example sets the style attached to cell A1 on Sheet1 to include pattern format.

Visual Basic for Applications
  Worksheets("Sheet1").Range("A1").Style.IncludePatterns = True

See Also