Hello!
I am having difficulties getting an old autosort code running again. I keep getting an error (end of statement) on each of the commas at the end of each line. I am simply trying to sort a data sheet (A1:T5000) by the values in Column F and then by the values in Column G. Maybe there is an easier way to have this done? Please let me know!
Sub SortMyReport()
Range(“A1”).CurrentRegion.Sort _
Key1:=Range(“F1”), _
Order1:=XLDescending, _
Key2:=Range(“G1”), _
Order2:=XLDescending, _
Header:=XLYes
End Sub
Bookmarks