Results 1 to 7 of 7

Help with Dependent Combo Boxes

Threaded View

  1. #1
    Registered User
    Join Date
    04-08-2019
    Location
    Minneapolis, MN
    MS-Off Ver
    2016
    Posts
    24

    Help with Dependent Combo Boxes

    Hello,
    I have had some help on here before with this project but I am running into a few issues that I don't know how to get around. I have 3 ComboBoxes that I want to have work off each other. I can one that chooses which division in our company it is. this one is labelled "company" and has 3 options. Then, depending on what you choose for the company will dictate which list of customers you see. Then, depending on which customer you choose, a list of contacts will be available for that specifc customer.

    My two issues, I got help making the customers combobox dependent on the Company combobox but the drop down for the customers doesn't adjust in length based off of how many customers. the "Acoustics" customer list is only like 38 customers long and originally when I switched to Industry, I could only see the first 38 customers and the list stopped part way through. Now I can go into the code and see that it only looks from B1:B39 so if I change it to B1:B500 it will get everything but it adds the empty cells as well. So how do I get it to show only the filled boxes and that the number of filled boxes can be variable in each column.


    My second issue is getting the Contacts Combobox tied into the mix as well. I don't have have the contacts list and I think I am uncomfortable adding them on here since it is real people. But basically if the company 3M comes up there might be 3 or 4 contacts that we might work with so 3M is in the Customer box I would like to see Jim Smith, Erik Johnson, Emily Anderson in the drop down for for Contact and then if I switch it to Stadler the list would have a whole new set of people. Also, We have 3M as a customer under Medical and under Industry and they have different contact names for each. Same company, different divisions. So Industry -> 3M would have a different set of contacts than Medical -> 3M.

    Let me know if that makes sense. I would love for some insight here. I don't know how I should lay out a database for the contact info to make this work and I am struggling with the code to connect it to the customer.
    Attached Files Attached Files

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Dependent Combo Boxes
    By SamuelSamuel in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 06-22-2018, 08:53 PM
  2. Dependent Combo Boxes
    By VaibhavAr in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 12-15-2016, 07:16 AM
  3. dependent combo boxes
    By juandc in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 03-17-2014, 09:53 AM
  4. VBA for Dependent Combo Boxes
    By Ansar Hussain in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 09-07-2011, 11:32 AM
  5. Dependent Combo Boxes
    By HangMan in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 09-06-2011, 08:10 AM
  6. dependent combo boxes
    By rvc81 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-26-2011, 03:47 PM
  7. Dependent Combo Box (2 Combo Boxes)
    By vclelo in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 07-30-2010, 12:00 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