Deleting rows and columns based off a macro..

figuare9

Board Regular
Joined
Oct 23, 2017
Messages
118
Okay, the title might suck, but I can't really think of a better one atm.. Little bit scatter brained trying to think of how to do what I'm looking for here.. lol.

So what I'm trying to do, is build a weekly planner based off a list of employees. Each day, the employee gets a few notes associated with what he did for that day. However, I'm trying to make it easy to remove and add employees. Which should work pretty well, because the list is sorted by seniority.

So if I add an employee, it will always be at the bottom of the list. However, if an employee leaves for any reason and I need to remove him, there's a very good chance that there will be people below him.

So, I have macros that were setup to add and remove employees in another thread I was helped with here.. https://www.mrexcel.com/forum/excel...help-specific-macro-maybe-better-use-vba.html

and after getting that working, I'd like to be able to have that employee list be the guide for each weekly planner. So, IE: if I remove an employee, I'd like to see him and all of his data in all of the sheets get removed. If that makes sense.. lol.

I built a working example sheet that can be found here.. http://www.mediafire.com/file/qisucr1bemd5y5d/Excel+Guide.xlsm Should help to understand better how it works.

I have a sheet for every week of the year. If I delete Eric, I'd like everybody and their data to go up one row to fill his spot. And new employees would be added on the bottom.


9pcmT82.png
 

Excel Facts

How to show all formulas in Excel?
Press Ctrl+` to show all formulas. Press it again to toggle back to numbers. The grave accent is often under the tilde on US keyboards.

Forum statistics

Threads
1,216,118
Messages
6,128,939
Members
449,480
Latest member
yesitisasport

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