+ Reply to Thread
Results 1 to 2 of 2

Populate ListBox from Spreadsheet Data based on relevant ComboBox Selection - Userform VBA

  1. #1
    Registered User
    Join Date
    04-16-2015
    Location
    Dublin, Ireland
    MS-Off Ver
    2010
    Posts
    3

    Populate ListBox from Spreadsheet Data based on relevant ComboBox Selection - Userform VBA

    Hi Everyone,

    I have 2 Userforms in a workbook for 2 separate spreadsheets, both of which will be containing potentially large amounts of data in order to keep track of Company Agreements, etc. The 2 spreadsheets will be somewhat interlinked through the Userforms.

    The 2 spreadsheets are called "Agreement DB" and "Amendment DB" respectively. UserForm1 is used to input details in Agreement DB and UserForm2 for Amendment DB, which is a database of all amendments associated to the agreements in Agreement DB. See attached.

    In UserForm2, i want to populate whats under Column C of Agreement DB in the AgmtInput ListBox (Agreement) depending on what Primary Party you select in the P1Input ComboBox (Company). The P1Input CombBox will be limited to 11 entities only. Once user selects both the Company and Agreement, user will be prompted to fill in the amendment data in the userform which will then go straight into the Amendment DB.

    Hope someone can help and thanks in advance!
    Attached Files Attached Files

  2. #2
    Forum Expert jaslake's Avatar
    Join Date
    02-21-2009
    Location
    Atwood Lake in Mid NE Ohio...look it up.
    MS-Off Ver
    Excel 2010 2019
    Posts
    12,749

    Re: Populate ListBox from Spreadsheet Data based on relevant ComboBox Selection - Userform

    Hi kukreja.v

    In looking at the logic of your Data it would seem you would want to populate RegionInput dependent on what is selected in P1Input and AgmtInput.
    Am I missing something?
    John

    If you have issues with Code I've provided, I appreciate your feedback.

    In the event Code provided resolves your issue, please mark your Thread as SOLVED.

    If you're satisfied by any members response to your issue please use the star icon at the lower left of their post.

+ 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. Populate ComboBox from Database based on ListBox selection
    By kukreja.v in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 05-21-2015, 09:53 AM
  2. Populate Listbox based on Combobox selection
    By wallybur in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 06-27-2014, 04:48 AM
  3. Replies: 4
    Last Post: 03-02-2014, 03:33 AM
  4. Userform Combobox to populate based on selection in another combobox
    By Excelnoub in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 01-14-2014, 03:34 PM
  5. [SOLVED] Automatically Populate Listbox from ComboBox Selection
    By doglover in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-21-2013, 01:51 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