Style.IncludePatterns property (Excel)
True if the style includes the Color, ColorIndex, InvertIfNegative, Pattern, PatternColor, and PatternColorIndex properties of the Interior object. 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.
Worksheets("Sheet1").Range("A1").Style.IncludePatterns = True
Support and feedback
Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.