View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
Bob Flanagan Bob Flanagan is offline
external usenet poster
 
Posts: 340
Default List Fill Range Property

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" wrote in message
...
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