List Box with dynamic list - Help

  • Thread starter Thread starter jruppert
  • Start date Start date
J

jruppert

hi, i have a problem...

i have a list box and 5 dynamic named ranges. i also have a series of 5
option buttons that control which of the 5 named ranges is the one i
want.

what i want to do is have the Input Range for the list box dynamically
update with the named range chosen via the option buttone.
unfortunately, it seems the the contents of the Input Range must
actually be a defined range and cannot be a formula (indirect,
address), and also cannot be a reference to a cell which contains the
named range as its value.

any thoughts on how to accomplish this?

thanks
 
Hi!

Try this:

Assume your 5 named ranges are: Rng1, Rng2, Rng3, Rng4, Rng5

Link the option buttons to a cell, say, B1.

Create this named formula and give it the name of, say, Rng

=CHOOSE($B$1,Rng1,Rng2,Rng3,Rng4,Rng5)

Now, for the input range of the list box enter =Rng

Biff
 

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

Back
Top