主题
Clear (方法)
清除所有 SortField 对象。
示例
python
#本示例清除活动工作表上所有 SortField 对象
def test():
Application.ActiveSheet.Sort.SortFields.Clear()
python
#本示例清除活动工作簿上每一张工作表上所有 SortField 对象
def test():
for i in range(1, Sheets.Count):
Application.Sheets.Item(i).Sort.SortFields.Clear()