Listbox leeren
07.02.2004 22:08:02
Beni
wenn ich eine Listbox mit
Dim r As Variant
ListBox1.ColumnCount = 8
r = Cells(65536, 8).End(xlUp).Row
ListBox1.RowSource = "A2:H" & r
fülle, kann ich sie nicht mit ListBox1.Clear leeren,
wenn ich aber mit
ListBox3.AddItem Cells(r, 1)
ListBox3.List(i, 1) = Cells(r, 2)
ListBox3.List(i, 2) = Cells(r, 3)
ListBox3.List(i, 3) = Cells(r, 4)
ListBox3.List(i, 4) = Cells(r, 5)
ListBox3.List(i, 5) = Cells(r, 6)
ListBox3.List(i, 6) = Cells(r, 7)
ListBox3.List(i, 7) = Cells(r, 8)
so geht das, mit ListBox3.Clear, woran liegt das?
Gruss Beni