Rob_010101
Board Regular
- Joined
- Jul 24, 2017
- Messages
- 198
- Office Version
- 365
- Platform
- Windows
Hello,
I'll try and keep this as simple as possible.
I'm working on an absence tracker, tracking employee's absence in the current 12-month rolling period and the previous 12-month rolling period. So, 24 months in total.
The tracker is updated daily throughout the week and is EXTREMELY manual and time consuming.
I would like a piece of VBA code that runs automatically upon opening the workbook (it only needs to execute once per day) which does the following:
I hope this makes sense. Grateful for any help.
Kind Regards
Chris
I'll try and keep this as simple as possible.
I'm working on an absence tracker, tracking employee's absence in the current 12-month rolling period and the previous 12-month rolling period. So, 24 months in total.
The tracker is updated daily throughout the week and is EXTREMELY manual and time consuming.
I would like a piece of VBA code that runs automatically upon opening the workbook (it only needs to execute once per day) which does the following:
- 'Previous 12 months', any absence end dates that are before 24 months from today(), it deletes the row
- 'Current 12 months', any absence end dates that fall before 12 months from today(), it moves the row into the next available row of data on 'previous 12 months'.
I hope this makes sense. Grateful for any help.
Kind Regards
Chris