I am completely new to VBA, although I am very familiar with regular VB. I don’t know if it needs to be done through VBA, or if it can be done with Excel built-in functions. Basically, I have a bunch of data in columns on a hidden sheet. The other sheet should have two drop-down lists, one of which depends on the other selected value. There are three objects in a relationship (see the example below). I don’t know how to do this, or even how the relationships between these lines will work.
Here is an example of what I want to achieve: On one sheet there are two columns: “Employee” and “Project”. The employee contains a drop-down list of employees. This data is in a hidden sheet. Each employee is associated with one department, and each department is associated with a number of projects. When the user has selected a specific employee, I want the Active column in the Project column to populate a drop-down list containing all the projects related to the department to which the selected employee belongs. How can I establish this relationship in Excel and write a VBA function that makes this function?
I can’t give you an example of what the data columns look like on a hidden sheet, since I have no idea how to organize them.
source
share