![]() List(0, 2), whereas the data field array becomes automatically a one based 2-dim array. For example data from A1:A6 must be transposed. The two-column ListBox shows the month names in column 1 and the number of the days in the month Display multiple columns in combo box with VBA code. The list box shows a certain number of values with or without a scroll bar and the user can select one or more values. If you want to show items in two columns, you'll have to use some grid control or listview control. ![]() ![]() :) So any answers would assume you were using Excel VBA, where there is a List property for listboxes. If the Project Explorer is not visible, click View, Project Explorer. To populate multi-column controls with the AddItem method, I use a procedure like this.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |