List Fill Range Property

G

Guest

I have a few different comboBoxes where I can't seem to get the input range to stay. I have put the cell range in the ListFillRange Property but it doesn't always work. The combobox will be blank, but the LFR property will still say the range of cells I told it. This is driving me nuts!

Jeff
 
B

Bob Flanagan

Jeff, most likely the userform has been loaded (shown) and then closed by
the user clicking on the X in the upper right corner. This does more than
just hide a form. It unloads list and combo boxes! Then, when you re-show
the form without unloading it, the lists are empty. The easy solution is to
use a statement like

Unload Userform1

before showing the form.

Bob Flanagan
Macro Systems
http://www.add-ins.com
Productivity add-ins and downloadable books on VB macros for Excel

Jeff said:
I have a few different comboBoxes where I can't seem to get the input
range to stay. I have put the cell range in the ListFillRange Property but
it doesn't always work. The combobox will be blank, but the LFR property
will still say the range of cells I told it. This is driving me nuts!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top