Complex Organisation chart macro

giggy

New Member
Joined
Mar 21, 2013
Messages
7
Hello!!!!

I am new to VBA and know just the basics of VBA.I have been given a complex task to make a MACRO for organisation. details are as


There are following designations
Designation reports to
Manager top
Operation manager(OM) reports to manager
Engineer manager(EM) reports to Operation manager
Lead engineer reports to Engineer manager
Senior Engineer reports to Lead Engineer
Engineer reports to Lead Engineer
Graduate Engineering Trainee(GET) reports to Lead Engineer


Now for every designation (except for manager) there is a primary manger
For GET, Engineer and Senior engineer, LEAD Engineer is the primary manager

for lead engineer, EM is the primary manager and for EM, OM is the primary manager and so on..............



Requirement of Macro: Using four columns in excel sheet if I fill the ID & NAME of a person along with his PROMARY MANAGER's ID and NAME,
i want to get all the people reporting to him, along with the details of teams of each of their teams. Better explained with example below:

Example: If i fill in the ID of a EM and His name and ID and name of his primary manager who here will be a OM, then i want to get the details of all the Lead engineers reporting to That EM along with SR. Engineers , Engineers and GETS reporting to each of LEADS


Kindly provide me with a solution..................


Thanks and Regards
Gagandeep Singh
 

Excel Facts

How to calculate loan payments in Excel?
Use the PMT function: =PMT(5%/12,60,-25000) is for a $25,000 loan, 5% annual interest, 60 month loan.
If somebody dont understand the problem or requirement of this post please ask for that
 
Upvote 0

Forum statistics

Threads
1,203,758
Messages
6,057,180
Members
444,913
Latest member
ILGSE

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top