maclachlan19
Board Regular
- Joined
- Jul 8, 2013
- Messages
- 53
I'm trying to run some code to sort multiple columns at once. I get an error:
Compile error: Named argument not found
Compile error: Named argument not found
VBA Code:
Range("Managers").Sort Key1:=Range("Q4"), Order1:=xlDescending, _
Key2:=Range("G4"), Order2:=xlDescending, _
Key3:=Range("H4"), Order3:=xlAscending, _
Key4:=Range("F4"), Order4:=xlDescending, _
Key5:=Range("I4"), Order5:=xlAscending, _
Header:=xlYes