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.
Bookmarks