主题
Count (属性)
返回一个 int 值,它代表集合中对象的数量。
示例
python
#本示例显示活动工作表中超链接的数量
def test():
count = ActiveSheet.Hyperlinks.Count
print(f"超链接的数量是 {count}")