Hello all!
I have a userform that can select from a large number (several hundred) of items, and depending on other factors, the number of items on that list can change. Each item is simply a whole number 1 thru (max item #). I'd like to use a combo box that the user can use to select any valid item #; is there a way to tell the combo box that it should offer values of 1 thru N?
I considered the add item method, but it seems inefficient to do a for-next loop to add a couple hundred items to the combo box, then clear it when the list of items changes (can change up or down). I guess I could just put a range of numbers someplace in a spreadsheet & tell the combo box the range, but that also seems inefficient to have a few hundred cells devoted to nothing but numbers 1 thru a couple hundred.
So... is there an efficient method I'm missing, or should I just do the for-next loop & add items each time?
Many thanks,
G.T.