主题
返回集合中对象的数量。
int
#本示例显示活动工作表上数据透视表中切片器的数量 def test(): print(ActiveSheet.Range("I1").PivotTable.Slicers.Count)