default_name
Board Regular
- Joined
- May 16, 2018
- Messages
- 180
- Office Version
- 365
- 2016
- Platform
- Windows
- MacOS
Hey everyone,
I have a group of cells in my workbook that I would like to change colors after a certain date.
If today's date falls after the contents of cell AJ1 (which contains a reference date like 9/5/2019) then I want cells AG1:AJ77 to change to black with white font. In other words, since today is 9/12/2019 (which is after the AJ1 date of 9/5/2019) then that group of cells (AG1:AJ77) should be blacked out.
I am trying to implement this on a budget sheet by blacking out certain areas of the budget sheet after each period of the budget passes.
Getting today's date is kind of tricky though...I have seen VBA variations, as well as the use of an EDATE(NOW()) function, but I am just not sure how to best proceed in this case. VBA would be preferred.
Thanks in advance for your help!
I have a group of cells in my workbook that I would like to change colors after a certain date.
If today's date falls after the contents of cell AJ1 (which contains a reference date like 9/5/2019) then I want cells AG1:AJ77 to change to black with white font. In other words, since today is 9/12/2019 (which is after the AJ1 date of 9/5/2019) then that group of cells (AG1:AJ77) should be blacked out.
I am trying to implement this on a budget sheet by blacking out certain areas of the budget sheet after each period of the budget passes.
Getting today's date is kind of tricky though...I have seen VBA variations, as well as the use of an EDATE(NOW()) function, but I am just not sure how to best proceed in this case. VBA would be preferred.
Thanks in advance for your help!