LarryDeLaruelle
Technical User
Is it possible to create a list box's contents in code?
I would like to use an On_Load or On_Open event to populate a list box with the values I need instead of using the Row Source property in design view.
VBA does not have an AddItem (as VB does) so I tried setting the value of the row source in code as:
lstTest.RowSource = "one; two"
Doesn't work.
Is it possible? I would appreciate any suggestions.
Thanks.
Larry De Laruelle
larry1de@yahoo.com
I would like to use an On_Load or On_Open event to populate a list box with the values I need instead of using the Row Source property in design view.
VBA does not have an AddItem (as VB does) so I tried setting the value of the row source in code as:
lstTest.RowSource = "one; two"
Doesn't work.
Is it possible? I would appreciate any suggestions.
Thanks.
Larry De Laruelle
larry1de@yahoo.com