IncludePatterns Property Example

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

Worksheets("Sheet1").Range("A1").Style.IncludePatterns = True

Send feedback to MSDN.Look here for MSDN Online resources.