+ Reply to Thread
Results 1 to 2 of 2

[SOLVED] Indexing proper range in listbox depending on selection in previous listbox

  1. #1
    Registered User
    Join Date
    01-31-2013
    Location
    Winslow, AZ
    MS-Off Ver
    Excel XP
    Posts
    3

    [SOLVED] Indexing proper range in listbox depending on selection in previous listbox

    I am trying to figure out how to populate proper range in ListBoxCity based on selection in ListBoxCountry. First I choose Country, it populates State/Province properly, and if I chose United States in the first box, City names are proper, but as it sits, if I chose Canada, it lists US cities.

    Please Login or Register  to view this content.
    If I could make the Private Sub ListBoxState give the range in my code above if United States is chosen, and this range if Canada was chosen:

    Please Login or Register  to view this content.
    I would be so greatful. I'm a little confused by the 'if then else', and my searching has found dozens of examples that don't work for me. thanks
    Last edited by bloodmeat; 02-04-2013 at 12:50 AM.

  2. #2
    Registered User
    Join Date
    01-31-2013
    Location
    Winslow, AZ
    MS-Off Ver
    Excel XP
    Posts
    3

    Re: Indexing proper range in listbox depending on selection in previous listbox

    I also tried this:
    Please Login or Register  to view this content.
    which does nothing for some reason.

+ 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