Skip to content
本页内容

Count (属性)

返回 PivotLines 集合中的项数。只读。

示例

python
#本示例显示活动工作表上数据透视表中行轴上数据透视线的数量
def test():
    pvtLines = ActiveSheet.Range("I1").PivotTable.PivotRowAxis.PivotLines
    print(pvtLines.Count)