in einem Makro habe ich eine Sortierung.
Columns("A:D").Sort Key1:=Range("B2"), Order1:=xlAscending, Key2:=Range("D2") _
, Order2:=xlAscending, Header:=xlGuess, OrderCustom:=1, MatchCase:= _
False, Orientation:=xlTopToBottom
Das Problem ist, dass Excel für mich beim Key2 nicht ganz richtig sortiert, also 1, 11, 12, ..., 2, 21, 22, ... , 3 etc.
Kann man beim Key2 die Sortierung mittels VBA ändern in:
1, 2, 3, ..., 11, 12, ... 21, 22, ... ?
Hilfe/Info wäre nett.
Grüße Burghard