+ Reply to Thread
Results 1 to 2 of 2

Dependent combobox

  1. #1
    Registered User
    Join Date
    Ontario, Canada
    MS-Off Ver

    Dependent combobox

    Hi all,

    I don't speak english very well but I will try to describe my problem.

    I have a combobox with names of customers on "Sheet1". The name of corresponding contact person and his email will show in C24 and C25 after choosing a customer from combobox.

    I have list of customer on "Sheet2". Every customer can have one, two or three contact persons. Would it be possible to do following using VBA?

    If I choose for example second customer (customer "Best a.s.") with three contact persons I want to display second (new) combobox with three contact persons which belong to this customer (in my example "Tomas Miculka"; "Petr Nadvornik" and "Josef Pecha"). If I choose the first customer (FBM s.r.o.) I want to display only two contact persons ("Josef Novy" and "Igor Hnizdo") in the new combobox. Afterthat I choose one contact person from the second combobox and this contact person will show in C24 and his E-mail in C25.

    If the customer has only one contact person I don't want to display any other combobox but directly write the contact person and e-mail to C24 and C25

    The number of the contact persons can change - I can delete or add some contact person. So there is no fix number of contact persons by every customer.

    Could you please help me with this issue?

    Thank you very much

  2. #2
    Forum Moderator alansidman's Avatar
    Join Date
    Steamboat Springs
    MS-Off Ver
    MS Office 2019

    Re: Dependent combobox

    crossposted: https://www.mrexcel.com/forum/excel-...-combobox.html

    Administrative Note:

    Welcome to the forum.

    We would very much like to help you with your query, however it has been brought to our attention that the same query has been posted on one or more other forums and you have not provided the required cross-post link(s) here.
    Read this to understand why we (and other sites like us) consider this to be important.

    I have added it for you today. If there are other sites, please list them. Please read our forum rules and comply in the future.
    Last edited by alansidman; 03-15-2019 at 03:19 AM.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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


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