Hi,
I've created a macro to sort by two columns. This first column i'd just like to order by the first character which is a number, then by the second column.
Any ideas would be great. Thanks
ActiveWorkbook.Worksheets("FleetChanges").Sort.SortFields.Add Key:=Range( _
"F8:F35"), SortOn:=xlSortOnValues, Order:=xlAscending, DataOption:= _
xlSortNormal
ActiveWorkbook.Worksheets("FleetChanges").Sort.SortFields.Add Key:=Range( _
"J8:J35"), SortOn:=xlSortOnValues, Order:=xlAscending, DataOption:= _
xlSortNormal
I've created a macro to sort by two columns. This first column i'd just like to order by the first character which is a number, then by the second column.
Any ideas would be great. Thanks
ActiveWorkbook.Worksheets("FleetChanges").Sort.SortFields.Add Key:=Range( _
"F8:F35"), SortOn:=xlSortOnValues, Order:=xlAscending, DataOption:= _
xlSortNormal
ActiveWorkbook.Worksheets("FleetChanges").Sort.SortFields.Add Key:=Range( _
"J8:J35"), SortOn:=xlSortOnValues, Order:=xlAscending, DataOption:= _
xlSortNormal