+ Reply to Thread
Results 1 to 2 of 2

Listboxes are populated by one Combobox selection

  1. #1
    Registered User
    Join Date
    09-06-2012
    Location
    USA
    MS-Off Ver
    Excel 2010
    Posts
    11

    Listboxes are populated by one Combobox selection

    Hi all,

    I am new to this so please bear with me. In the attached workbook there is 4 columns of data on Sheet1 that I would like to view/organize in a userform via one combobox and two listboxes. I'll describe what each Combobox and Listbox should do below:

    ComboBox1 - should show the Clients from range(A2:A37) on Sheet1 but not include duplicates (Client name should only appear once)

    ListBox1 - depending on the Client you choose in ComboBox1 the corresponding registration of the Client will be displayed taken from range(B2:B37) on Sheet1 (once again no duplicates... the corresponding registration should only appear once)

    ListBox2 - Also, depending on the Client you choose in ComboBox1 the corresponding Product Name and Account will be displayed taken from range (C2:D37) on Sheet1 (once again no duplicates... the corresponding Product Name and Account should only appear once)

    Please let me know if this is possible. Thank you
    Attached Files Attached Files

  2. #2
    Valued Forum Contributor fredlo2010's Avatar
    Join Date
    07-04-2012
    Location
    Miami, United States
    MS-Off Ver
    Excel 365
    Posts
    762

    Re: Listboxes are populated by one Combobox selection

    Hi

    See if this helps. Also it would be a good idea to name your objects something meaningful it will save you headaches later and your code will be more intuitive. Ex instead of combobox1, cmbOrders


    Please Login or Register  to view this content.
    Test.xlsm

    Thanks

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] Combobox populated by another combobox choice
    By x65140 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 03-05-2014, 03:23 PM
  2. How to change selection in two listboxes by changing selection in a third listbox
    By GIS2013 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 09-01-2013, 02:39 PM
  3. Replies: 2
    Last Post: 12-07-2012, 02:10 AM
  4. Multi-selection listboxes and storage of selections
    By fjeronimo in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 12-13-2006, 06:22 PM
  5. Replies: 2
    Last Post: 02-23-2005, 08:06 AM

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