Thanks for getting back to me.
Public Function Sort1()
Set ws1 = Sheets("GOV")
ws1.Range("A6:K5000").Select
Selection.Sort Key1:=ws1.Range("A1"), Order1:=xlAscending, Header:=xlGuess, _
OrderCustom:=1, MatchCase:=False, Orientation:=xlTopToBottom
End Function
This one works... however this one still doesnt
Public Function Sort2()
Set ws2 = Sheets("REGION")
ws2.Range("A1:A18").Select
Selection.Sort Key1:=ws2.Range("A1"), Order1:=xlAscending, Header:=xlGuess, _
OrderCustom:=1, MatchCase:=False, Orientation:=xlTopToBottom
End Function
It is basically the same, however the second one comes up with errors. Any ideas?
Bookmarks