I have 3 columns one of which contains numbers stored as text which can contain values (00, 0 to 99). Now i need to sort this column in ascending order. After sorting i need 00 on top of the row and then the remaining numbers in ascending order. When i sort using below code, if I make "0" entry before "00", the result after sort is "0" before "00". if the entry is made vice versa, I get "00" before "0". My requirement is i require 00 to be at the top in all cases after sort.
------------------------------------------------------------------------
Code
`Range("B12:H24").Select
ActiveWorkbook.Worksheets("Game_Info").Sort.SortFields.Clear
ActiveWorkbook.Worksheets("Game_Info").Sort.SortFields.Add2 Key:=Range( _
"F13:F24"), SortOn:=xlSortOnValues, Order:=xlAscending, DataOption:= _
xlSortTextAsNumbers
With ActiveWorkbook.Worksheets("Game_Info").Sort
.SetRange Range("B12:H24")
.Header = xlYes
.MatchCase = False
.Orientation = xlTopToBottom
.SortMethod = xlPinYin
.Apply
End With`
Display More