+ Reply to Thread
Results 1 to 3 of 3

Populating textboxes based on multiple combobox selections

  1. #1
    Registered User
    Join Date
    07-27-2019
    Location
    https://t.me/pump_upp
    MS-Off Ver
    Office 365
    Posts
    2

    Populating textboxes based on multiple combobox selections

    Hi all, I currently have a userform that has 4 comboboxes, all filtering from a table, with the last combobox being filtered to a single row match in the table. Once that match is made, textboxes are filled with the data contained in the adjacent row in the table.

    I am using the below code to fill in these textboxes

    Please Login or Register  to view this content.
    This all works fine, but the search is only being constrained to the selection made in the final combobox, this would be fine however, that value is not unique in the table, so I am missing rows of data in the results of my UserForm. So my question is if I can constrain the search to all the combobox selections rather than just the last one.

    Any assistance would be greatly appreciated as I've completely hit a roadblock with this. I attached the file below
    Attached Files Attached Files

  2. #2
    Forum Guru
    Join Date
    07-25-2011
    Location
    Florida
    MS-Off Ver
    Excel 2003
    Posts
    9,653

    Re: Populating textboxes based on multiple combobox selections

    Please Login or Register  to view this content.
    Surround your VBA code with CODE tags e.g.;
    [CODE]your VBA code here[/CODE]
    The # button in the forum editor will apply CODE tags around your selected text.

  3. #3
    Registered User
    Join Date
    07-27-2019
    Location
    https://t.me/pump_upp
    MS-Off Ver
    Office 365
    Posts
    2

    Re: Populating textboxes based on multiple combobox selections

    Amazing! Thank you so much for your help.

    One last question, could this be applied to the textbox based search located on the left hand side of the form?

+ 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 multiple TextBoxes based on ComboBox Selection
    By PTechFL in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 04-23-2019, 06:35 AM
  2. Populating a ListBox based on 3 ComboBox selections
    By Raylou in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 10-01-2018, 08:46 AM
  3. Replies: 3
    Last Post: 03-22-2018, 11:25 AM
  4. Populating Combobox based on Combobox selection from EXCEL worksheet
    By JChaney17 in forum Excel Programming / VBA / Macros
    Replies: 13
    Last Post: 08-04-2014, 08:14 AM
  5. Populating textboxes based on ComboBox value.....
    By harish_gr in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 04-24-2013, 09:05 AM
  6. Replies: 3
    Last Post: 04-11-2013, 12:23 AM
  7. [SOLVED] Changeing Combobox Colors based on other combobox selections
    By dagindi in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 05-15-2012, 11:42 AM

Tags for this Thread

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