Not sure how to find column headings in VBA when Dates are involved
How could I find based on a Cells Value or Even Todays Date in Col A:E
Also how could I find it in Columns G:J If Cells Value or Today was in the middle of the month
e.g. Cell Value is 12th Feb 2023. I would like to be able to Find it Answer would be H1 or Col8 (G1:J1 are 1st Days of month i.e. 1/1/23 1/2/23 1/3/23 etc)
How could I find based on a Cells Value or Even Todays Date in Col A:E
Also how could I find it in Columns G:J If Cells Value or Today was in the middle of the month
e.g. Cell Value is 12th Feb 2023. I would like to be able to Find it Answer would be H1 or Col8 (G1:J1 are 1st Days of month i.e. 1/1/23 1/2/23 1/3/23 etc)
A | B | C | D | E | F | G | H | I | J |
01-Jan-23 | 02-Jan-23 | 03-Jan-23 | 04-Jan-23 | 05-Jan-23 | 01-Jan | 01-Feb | 01-Mar | 01-Apr |