Posted on January 5, 2009
1
2
3
4
5
6
7
8
9
10
| 'Controls - How to add item to a multi-column Listbox (in two ways)
'Using AddItem method:
List1.AddItem "Column 1 Text" & vbTab & "Column 2 Text" & vbTab & "Column 3 Text" & vbTab _
& "Column 4 Text"
'Here List1 has 4 columns
'Using Array:
List1.List = MyArray()
'We can load a listbox directly from an array! (single dim)
'Much faster than AddItem method. |