Skip to content
本页内容

Count (属性)

返回一个 int 值,它代表集合中对象的数量。

示例

python
#本示例显示当前工作簿中工作表的数量
def test():
    print("当前工作簿中工作表数量: " + Application.Worksheets.Count)