asked on
Range("B1:B37").Select
ActiveWorkbook.Worksheets("FUN1").Sort.SortFields.Clear
ActiveWorkbook.Worksheets("FUN1").Sort.SortFields.Add Key:=Range("B1"), _
SortOn:=xlSortOnValues, Order:=xlAscending, DataOption:=xlSortNormal
With ActiveWorkbook.Worksheets("FUN1").Sort
.SetRange Range("A1:C10")
.Header = xlNo
.MatchCase = False
.Orientation = xlTopToBottom
.SortMethod = xlPinYin
.Apply
End With