ist schon komisch,
ich möchte sortieren und leider wird nicht sauber aufsteigen sortiert,
WIESO ?
21.07.2005
16.08.2005
16.08.2005
14.09.2005
14.09.2005
19.09.2005
23.09.2005
13.10.2005
01.07.2005
01.07.2005
02.05.2005
02.06.2005
02.06.2005
02.06.2005
02.06.2005
02.06.2005
02.06.2005
02.06.2005
03.08.2005
04.08.2005
04.08.2005
05.08.2005
05.10.2005
06.09.2005
Habe es über Daten sortieren durchgeführt aber auch ein Makro, ebenfalls so wie oben ist !
Private Sub CommandButton5_Click()
Application.ScreenUpdating = False
ActiveSheet.Unprotect ("bk") 'so hebt richtig auf
Range("B3").Select
z = Range("a3").End(xlDown).Row
ActiveSheet.Range(Cells(4, 2), Cells(z, 23)).Select
'------------------- sortieren nach Typ Aufsteigend --------------------------
Selection.Sort Key1:=Range("G4"), Order1:=xlAscending, Header:=xlGuess, _
OrderCustom:=1, MatchCase:=False, Orientation:=xlTopToBottom
ActiveSheet.Protect DrawingObjects:=True, Contents:=True, Scenarios _
:=True, Password:="bk"
Range("B3").Select
ActiveSheet.Protect DrawingObjects:=True, Contents:=True, Scenarios _
:=True, Password:="bk" 'schützen
Application.ScreenUpdating = True
End Sub
Gruß Walter