Hello.
I use the below code for my absence tracker which was kindly provided on another forum.
I now need to change it, so instead of looking at current 12 month rolling period and previous 12 month rolling period, it looks at:
Current 6 months Tab - All absence in the last 6 month rolling period from the current day (based on absence start date)
Previous 6 months Tab - All absence from between 6 and 12 months from the current day (based on absence start date)
Previous 12 months Tab - All absence between 12 months and 24 months (based on absence start date) and delete all rows containing absence older than 24 months from current day.
In essence, basically splitting "current 12 months" in half into "current 6 months" and "previous 6 months".
When the workbook is opened, it automatically moves each absence row between the tabs depending on the absence start date.
The names and order of the columns will remain the same.
Hope this makes sense. Original code is below:
Unfortunately, uploading of the example file failed.
Bookmarks