Skip to content
本页内容

ShowTableStyleColumnStripes (属性)

ShowTableStyleColumnStripes 属性显示镶边列,这些列中的偶数列和奇数列的格式互不相同。这样使数据透视表更易于阅读。可读/写 bool 类型。

示例

python
#本示例显示数据透视表的镶边列
def test():
    ActiveSheet.PivotTables(1).ShowTableStyleColumnStripes = True
python
#本示例显示数据透视表 ShowTableStyleColumnStripes 属性的数据类型,并设置为 False
def test():
    print(type(ActiveSheet.PivotTables(1).ShowTableStyleColumnStripes))
    ActiveSheet.PivotTables(1).ShowTableStyleColumnStripes = False