+ Reply to Thread
Results 1 to 4 of 4

listboxes linked to each other

  1. #1
    Registered User
    Join Date
    03-17-2010
    Location
    Belgium
    MS-Off Ver
    Excel 2016
    Posts
    12

    listboxes linked to each other

    Hello there,

    I have here userform with 2 listboxes.

    I would like to have the situation that when the user click on a value in listbox2, then the row source on the listbox1 should change. (The row sources are on different tabs).

    To make it clear; the values are listed on listbox2 are Trial 1, Trial 2 , Trial 3.... (same as the sheet tabs).
    When i click on Trial 1 on the listbox2, the listbox1 should show the values from sheet tab "Trial 1". Probably change of rowsource.

    any suggestions?

    Thanks in advance

    gkisacik

  2. #2
    Forum Expert MickG's Avatar
    Join Date
    11-23-2007
    Location
    Banbury,Oxfordshire
    Posts
    2,650

    Re: listboxes linked to each other

    Hi, If you name your ranges in each sheet then you can use this.
    NB:- if your using a "Useform" Change for "ListFillRange" for "Rowsource.
    Please Login or Register  to view this content.
    Regards Mick

  3. #3
    Forum Expert Palmetto's Avatar
    Join Date
    04-04-2007
    Location
    South Eastern, USA
    MS-Off Ver
    XP, 2007, 2010
    Posts
    3,978

    Re: listboxes linked to each other

    Adjust sheet reference and ranges as required.

    Please Login or Register  to view this content.
    Palmetto

    Do you know . . . ?

    You can leave feedback and add to the reputation of all who contributed a helpful response to your solution by clicking the star icon located at the left in one of their post in this thread.

  4. #4
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200

    Re: listboxes linked to each other

    I have an example here

    LinkedListBox.zip
    Hope that helps.

    RoyUK
    --------
    For Excel Tips & Solutions, free examples and tutorials why not check out my web site

    Free DataBaseForm example

+ 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