SORT排序
ActiveWorkbook.Worksheets("LTE_TDS").Columns("A:A").Select
ActiveWorkbook.Worksheets("LTE_TDS").Sort.SortFields.Clear
ActiveWorkbook.Worksheets("LTE_TDS").Sort.SortFields.Add Key:=Range("A1"), _
SortOn:=xlSortOnValues, Order:=xlAscending, DataOption:=xlSortNormal
With ActiveWorkbook.Worksheets("LTE_TDS").Sort
.SetRange Range("A2:I1000000")
.Header = xlNo
.MatchCase = False
.Orientation = xlTopToBottom
.SortMethod = xlPinYin
.Apply
End Wit
posted on 2018-08-03 19:23 上山打老虎下山采蘑菇 阅读(221) 评论(0) 编辑 收藏 举报