Excel 2003
I'm using the following code to sort three ways, but need to update the code to sort a fourth way (column B is the forth column).
Any ideas?
Thanks in advance!!
I'm using the following code to sort three ways, but need to update the code to sort a fourth way (column B is the forth column).
Any ideas?
Code:
Range("A1:J1000").Sort Key1:=Range("F2"), Order1:=xlAscending, Key2:=Range _
("G2"), Order2:=xlAscending, Key3:=Range("A2"), Order3:=xlAscending, _
Header:=xlGuess, OrderCustom:=1, MatchCase:=False, Orientation:= _
xlTopToBottom, DataOption1:=xlSortNormal, DataOption2:=xlSortNormal, _
DataOption3:=xlSortNormal
Thanks in advance!!