effeff schrieb am 27.August.2010, 15:05:18 in der Kategorie pc.sw.office
Sub Spezialfilter_ala_ff()
Selection.Sort Key1:=Range(\"A44\"), Order1:=xlAscending, Header:=xlYes, OrderCustom:=1, MatchCase:=False, Orientation:=xlTopToBottom, DataOption1:=xlSortNormal
Dim l As Long
l = 45
Do While Cells(l, 1).Value <> \"\"
If Cells(l, 1).Value <> Cells(l - 1, 1).Value And Cells(l, 1).Value <> Cells(l + 1, 1).Value Then
Rows(l).Hidden = True
End If
l = l + 1
Loop
End Sub