I want to use VB to sort an Escel spreadsheet I just populated. When I use this command
xlSheet.Cells.Sort key1:=Range("A2"), Order1:=xlAscending, Header:=xlGuess, OrderCustom:=1, MatchCase:=False, Orientation:=xlTopToBottom, DataOption1:=xlSortNormal
I get an error 1004, Method...