Hi summer2010
The sort command is quite clever and tries to work things out for itself. The usual way to sort is to specify the area you want and then sort it. If you do not specify the area, then Excel will sort the area that contains the active cell. In this case the "area" is probably bounded by blank cells.
Now that you want to sort more than one area on a sheet, you must declare an area to sort and then declare another etc.
You do not say what you want to happen with the areas between the sorted data ie F3:Z60 and AB3:AC60 - should they be left unsorted? If so, the you need to amend each part of the macro:
Sheets(" MON").Select
Range("A3:E60").select
Selection.sort Key1:=Range("E60"), Order1:=xlAscending, Header:=xlGuess, _
OrderCustom:=1, MatchCase:=False, Orientation:=xlTopToBottom, _
DataOption1:=xlSortTextAsNumbers
Range("AA3:AB60").select
Selection.sort Key1:=Range("AB60"), Order1:=xlAscending, Header:=xlGuess, _
OrderCustom:=1, MatchCase:=False, Orientation:=xlTopToBottom, _
DataOption1:=xlSortTextAsNumbers
Range("AD3:AN60").select
Selection.sort Key1:=Range("AN60"), Order1:=xlAscending, Header:=xlGuess, _
OrderCustom:=1, MatchCase:=False, Orientation:=xlTopToBottom, _
DataOption1:=xlSortTextAsNumbers
Sheets(" TUE").Select
etc
Let me know if you have any questions
Regards
Alastair
Bookmarks