Hi everyone,
I'm very new to VBA, so really hoping you guys can help with this. I have a very painful that I need to do every week and I am trying to automate it to some extent to try and save some time (and my sanity!).
I get a file from HR with the email address, name, title, and email+name of the manager and second-level manager info of every employee, plus a few other columns with demographics. I have to use this data to create an organizational hierarchy in a slightly different format, so the manual steps go something like this:
1. Filter the Job title column to find all VPs and copy and paste the list into a new sheet.
2. Filter the 2nd-level manager column using the list of VPs (one by one), and copy+paste the employees who report up to the VP into the new format, which looks like this:
3. Repeat the process for Directors, Managers, Supervisors, Team Leads, etc. until each employee is accounted for.
I don't know if a macro is even possible or useful for something like this, but crossing my fingers that there's someone out there who enjoys puzzles and has time to kill

I'm very new to VBA, so really hoping you guys can help with this. I have a very painful that I need to do every week and I am trying to automate it to some extent to try and save some time (and my sanity!).
I get a file from HR with the email address, name, title, and email+name of the manager and second-level manager info of every employee, plus a few other columns with demographics. I have to use this data to create an organizational hierarchy in a slightly different format, so the manual steps go something like this:
Display name | Job title | Reports to | Manager's email | Second level manager |
2. Filter the 2nd-level manager column using the list of VPs (one by one), and copy+paste the employees who report up to the VP into the new format, which looks like this:
AGENT_ID | AGENT_NAME | SUPERVISOR_ID | SUPERVISOR_NAME | MANAGER_ID | MANAGER_NAME | DIRECTOR_ID | DIRECTOR_NAME | VP_ID | VP_NAME |
I don't know if a macro is even possible or useful for something like this, but crossing my fingers that there's someone out there who enjoys puzzles and has time to kill

