Excel VBA UserForm Combobox Populate from an Array (Multidimensional)

Published: 13 February 2015
on channel: InAnOffice
6,532
34

Excel VBA UserForm Learn how to populate Combobox from an Array (Multidimensional)

The source code used in this video:

Private Sub UserForm_Initialize()
Dim aDays(2, 2)

aDays(0, 0) = "16/01/2015"
aDays(1, 0) = "17/01/2015"
aDays(2, 0) = "18/01/2015"

aDays(0, 1) = "Friday"
aDays(1, 1) = "Saturday"
aDays(2, 1) = "Sunday"

aDays(0, 2) = "weekday"
aDays(1, 2) = "weekend"
aDays(2, 2) = "weekend"

cbDays.List = aDays

End Sub


Watch video Excel VBA UserForm Combobox Populate from an Array (Multidimensional) online without registration, duration hours minute second in high quality. This video was added by user InAnOffice 13 February 2015, don't forget to share it with your friends and acquaintances, it has been viewed on our site 6,532 once and liked it 34 people.