Excel VBA UserForm ListBox with Multiple Columns Populate (Column Property)

Published: 16 January 2015
on channel: InAnOffice
6k
19

Excel VBA UserForm Learn how to populate ListBox with multiple columns (Column Property)

The source code used in this video:

Private Sub UserForm_Initialize()
With lbDays
.ColumnCount = 2
.AddItem "12/01/2015"
.List(0, 1) = "Monday"

.AddItem "13/01/2015"
.List(1, 1) = "Tuesday"

.AddItem "14/01/2015"
.List(2, 1) = "Wednesday"
End With

End Sub


Watch video Excel VBA UserForm ListBox with Multiple Columns Populate (Column Property) online without registration, duration 02 minute 51 second in high hd quality. This video was added by user InAnOffice 16 January 2015, don't forget to share it with your friends and acquaintances, it has been viewed on our site 6 thousand once and liked it 19 people.