Skip to content
本页内容

ShowTableStyleRowStripes (属性)

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

示例

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