+ Reply to Thread
Results 1 to 5 of 5

List Box with dynamic list - Help

  1. #1
    Registered User
    Join Date
    11-26-2003
    Posts
    3

    List Box with dynamic list - Help

    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

  2. #2
    Biff
    Guest

    Re: List Box with dynamic list - Help

    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

    "jruppert" <[email protected]> wrote in
    message news:[email protected]...
    >
    > 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
    >
    >
    > --
    > jruppert
    > ------------------------------------------------------------------------
    > jruppert's Profile:
    > http://www.excelforum.com/member.php...fo&userid=3170
    > View this thread: http://www.excelforum.com/showthread...hreadid=478096
    >




  3. #3
    Registered User
    Join Date
    11-26-2003
    Posts
    3
    i will give that a try and let you know, thanks!

  4. #4
    Registered User
    Join Date
    11-26-2003
    Posts
    3
    AWESOME, it worked!

    thanks a lot!

  5. #5
    Biff
    Guest

    Re: List Box with dynamic list - Help

    You're welcome. Thanks for the feedback!

    Biff

    "jruppert" <[email protected]> wrote in
    message news:[email protected]...
    >
    > AWESOME, it worked!
    >
    > thanks a lot!
    >
    >
    > --
    > jruppert
    > ------------------------------------------------------------------------
    > jruppert's Profile:
    > http://www.excelforum.com/member.php...fo&userid=3170
    > View this thread: http://www.excelforum.com/showthread...hreadid=478096
    >




+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1