Skip to content
本页内容

Count (属性)

返回集合中对象的数量。

返回值

int

示例

python
#本示例显示活动工作表上数据透视表中切片器的数量
def test():
    print(ActiveSheet.Range("I1").PivotTable.Slicers.Count)