如果指定样式中包含
Color、
ColorIndex、
InvertIfNegative、
Pattern、
PatternColor 和
PatternColorIndex 对象的内部属性,则该属性值为
True。
Boolean 类型,可读写。
语法
表达式.IncludePatterns
表达式 一个代表 Style 对象的变量。
示例
本示例在 Sheet1 的 A1 单元格样式中加入图案格式。
示例代码 |
Worksheets.Item("Sheet1").Range("A1").Style.IncludePatterns = true
|
Switch off patterns in a style.