rabidcabbage
New Member
- Joined
- Feb 4, 2022
- Messages
- 4
- Office Version
- 365
- Platform
- Windows
I am trying to build a macro that will clear contents of the cell that holds the PTO taken based on hire date to the year mark (if the employee has passed their 1 year anniversary) and at to the 6 month mark (if the employee has passed their 5 year anniversary).
So a macro that will clear the contents of Cell D11 if [B23 >= today's date AND if B27 = today's date] or [B20 >= today's date AND if B26 = today's date]. Attached is a mock worksheet, which is the style we will build out for each employee. So I am wanting the macro to run this process if the worksheet is the active window. Is this even possible?
So a macro that will clear the contents of Cell D11 if [B23 >= today's date AND if B27 = today's date] or [B20 >= today's date AND if B26 = today's date]. Attached is a mock worksheet, which is the style we will build out for each employee. So I am wanting the macro to run this process if the worksheet is the active window. Is this even possible?