Hab jetzt noch ein Problem und bitte um Hilfe!
Ich lese mit folgendem Code Daten in eine ComboBox2 ein abhängig von der Auswahl in ComboBox1.
Dim loZeile As Long
With Worksheets("Liste")
For loZeile = 2 To IIf(IsEmpty(.Cells(.Rows.Count, 1)), .Cells(.Rows.Count, 1).End(xlUp) _
.Row, .Rows.Count)
If .Cells(loZeile, 19) = ComboBox1 Then ComboBox2.AddItem .Cells(loZeile, 20)
Next loZeile
End With
Mein Problem is nun daß in Spalte T die gleichen Einträge in mehrern Zeilen vorkommen, und mit diesem Code weden dann alle angezeigt, wenn ich also 5 mal "ALLE" und 3 mal "GRUPPE1" stehen habe dann wird in der ComboBox auch 5x "ALLE" und 3 mal "GRUPPE1" angzeigt.
Wie kann ich das filtern, daß in der ComboBox "ALLE" od. "GRUPPE1" ..... jeweils nur ein mal angzeigt wird.
Mit besten Dank
Gruß
Gerd