+ Reply to Thread
Results 1 to 4 of 4

fill combobox selection based on a selection from the first combobox

  1. #1
    Registered User
    Join Date
    11-01-2011
    Location
    Australia
    MS-Off Ver
    Excel 2003
    Posts
    2

    Smile fill combobox selection based on a selection from the first combobox

    Hi,

    I have a client database sorted into columns which are named defined i.e Companyname, Firstname, Lastname, Mobile, Email, etc

    I have created a user form for the operator to enter in a search for company name and from this search a list of the corresponding employees will appear. From this list, I wish the operator to than be able to select the relevant employee and then all thier details will appear (mobile, address, email, position etc)

    I have created a combobox which enables you to type in the company name and it auto spells out and shows list, from there I need the next combo box to show relatiive employee.

    Thanks
    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: fill combobox selection based on a selection from the first combobox

    Hi Monza

    Welcome to the Forum!

    This Code is in the attached and appears to do as you require
    Please Login or Register  to view this content.
    Attached Files Attached Files
    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.

  3. #3
    Registered User
    Join Date
    11-01-2011
    Location
    Australia
    MS-Off Ver
    Excel 2003
    Posts
    2

    Smile Re: fill combobox selection based on a selection from the first combobox

    Thank you so much for your amazing assistance and prompt reply, your answer works perfectly! genuis

  4. #4
    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: fill combobox selection based on a selection from the first combobox

    You're welcome...glad I could help...Thanks for the Rep...

    If this resolves your issue please mark your Thread as SOLVED.

    New quick method:
    Select Thread Tools-> Mark thread as Solved. To undo, select Thread Tools-> Mark thread as Unsolved.

    Or you can use this way:
    How to mark a thread Solved
    Go to the first post
    Click edit
    Click Go Advanced
    Just below the word Title you will see a dropdown with the word No prefix.
    Change to Solved
    Click Save

+ 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] Make combobox list options dependant on selection in another combobox within a userform
    By Vladimir_Dobvchenko in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 10-23-2013, 05:30 AM
  2. Fill a cell via textbox according to combobox selection
    By dj_danu01 in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 08-15-2013, 08:12 AM
  3. [SOLVED] Fill a cell via textbox on userform depending on combobox selection
    By Rhamilton2512 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 11-15-2012, 10:29 AM
  4. Replies: 1
    Last Post: 12-01-2010, 04:51 AM
  5. Populate a activeX combobox from a selection of another combobox
    By ptramel in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 03-28-2009, 06:50 PM

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