Anzeige
Anzeige
HERBERS
Excel-Forum (Archiv)
20+ Jahre Excel-Kompetenz: Von Anwendern, für Anwender
Anzeige
Inhaltsverzeichnis

RemoveAllitem

Forumthread: RemoveAllitem

RemoveAllitem
07.11.2002 10:07:12
Folker
Wie kann ich alle Einträge aus einer Komboboxliste löschen, die ich mit additem hinzugefügt habe? combobox1.removeAllitems funktioniert nicht.
Anzeige

2
Beiträge zum Forumthread
Beiträge zu diesem Forumthread

Betreff
Datum
Anwender
Anzeige
Re: RemoveAllitem
07.11.2002 10:24:39
Sebastian Müller
Hallo, schau mal ob das geht:

For i = 0 To ComboBox1.ListCount - 1
If ComboBox1.ListIndex = -1 Then
ComboBox1.ListIndex = ComboBox1.ListCount - 1
End If
ComboBox1.RemoveItem (ComboBox1.ListIndex)
Next


GRuß,

Sebastian

Re: RemoveAllitem
07.11.2002 11:23:42
Folker
Ok geht Danke.
Anzeige
Anzeige
Anzeige
Live-Forum - Die aktuellen Beiträge
Datum
Titel
14.05.2026 13:31:09
14.05.2026 09:50:42
13.05.2026 19:14:18