Ich muss eine Tabelle sortieren. Dies mache ich so:
wsLogbook.Activate
wsLogbook.Cells.Select
Selection.Sort Key1:=Range("A2"), Order1:=xlAscending, Key2:=Range("B2") _
, Order2:=xlAscending, Header:=xlGuess, OrderCustom:=1, MatchCase:= _
False, Orientation:=xlTopToBottom, DataOption1:=xlSortTextAsNumbers, _
DataOption2:=xlSortTextAsNumbers
Das funktioniert zwar, aber ich möchte die Tabelle sortieren ohne "activate" und "selection" Befehl. Wie geht das?