Hello,
I have an absence tracker containing a number of sheets and would like some VBA code to perform a certain task.
- "current 6 months" sheet holds absence data in the current 6 month rolling period. I have a code which moves rows of data between sheets depending on absence start date.
- "master data" sheet is regularly refreshed with system data to keep things in the report, like job titles etc up to date.
I would like a piece of VBA code I can assign to a button on the ribbon which does the following:
Current 6 months sheet
Column B tells me whether the person is Active, inactive or terminated. This information is gained from a vlookup to the "master data" sheet.
I would like a piece of code which I can assign to a button on the ribbon (so we have freedom of choice when the code is executed), which looks at column B and anywhere where it says "terminated", the code will delete the entire row, effectively removing all terminated people from the absence report.
Kind Regards
Bookmarks