Sortierung mit Cells
Joni
wie kriege ich es hin, dass ich die Sortierung mit Cells machen kann?
klappt nicht:
Sheets("Liste").Range(Cells(l, m), Cells(j - 1, m + 7)).sort Key1:=Range(Cells(l, m + 7)), Order1:=xlAscending, Header:=xlNo, _
OrderCustom:=1, MatchCase:=False, Orientation:=xlTopToBottom, _
DataOption1:=xlSortNormal
funktioniert:
Sheets("Liste").Range(Cells(l, m), Cells(j - 1, m + 7)).sort Key1:=Range("H6"), Order1:=xlAscending, Header:=xlNo, _
OrderCustom:=1, MatchCase:=False, Orientation:=xlTopToBottom, _
DataOption1:=xlSortNormal
Auch mit .Adress hinten dran klappt es nicht. Ich kriege immer einen Fehler 400.
Danke für eure Hilfe.
Gruß Joni