ich habe mir aus der Hilfe diesen Code kopiert und möchte nun die Listbox dreispaltig mit Werten aus einer Tabelle (Spalte A:C) füllen.
Private Sub UserForm_Initialize()
ListBox1.ColumnCount = 3
ListBox1.AddItem "Row 1, Col 1"
ListBox1.List(0, 1) = "Row 1, Col 2"
ListBox1.List(0, 2) = "Row 1, Col 3"
ListBox1.AddItem "Row 2, Col 1"
ListBox1.List(1, 1) = "Row 2, Col 2"
ListBox1.List(1, 2) = "Row 2, Col 3"
ListBox1.AddItem "Row 3, Col 1"
ListBox1.List(2, 1) = "Row 3, Col 2"
ListBox1.List(2, 2) = "Row 3, Col 3"
ListBox1.TextColumn = 3
End Sub
Geht das überhaupt, und wenn ja - wie?
Konnte dazu nichts finden und bin für jeden Tipp dankbar.
Gruß Herbert