davedave24
Programmer
Hi. I require to fill a combobox on a userform with a list of data in an Excel sheet that constantly has items added to it. For this reason I can't simply do .additem and list each one, or use the RowSource set to a high number as this will leave a huge white blank area at the bottom of the combobox.
I used to have a simple way of doing it but I can't remember - I usually set a blank cell out of the way somewhere to counta(a:a) - this counts the number of entries in the list, then I set up an array that gets all the data up to the number in that counta cell... then cycle through and add each item to the combobox
Thanks.
I used to have a simple way of doing it but I can't remember - I usually set a blank cell out of the way somewhere to counta(a:a) - this counts the number of entries in the list, then I set up an array that gets all the data up to the number in that counta cell... then cycle through and add each item to the combobox
Thanks.