Hi all.
I’m trying to add some code that will autofill cells based on the date in another cell.
The macro is currently set to newest file of the same name when ran. I have code that creates a new “Comments” column at the end (column G), but I want it to reference the Date column (column B) and autofill “Ignore” into column G if the date on that row is before 1/1/2020. Of the data is after 1/1/2020, leave blank.
For example, if the date in B1 is 12/1/2019, G1 would autofill “Ignore.” If the date in B2 is 2/1/2020, G2 would remain blank.
Thanks in advance!
I’m trying to add some code that will autofill cells based on the date in another cell.
The macro is currently set to newest file of the same name when ran. I have code that creates a new “Comments” column at the end (column G), but I want it to reference the Date column (column B) and autofill “Ignore” into column G if the date on that row is before 1/1/2020. Of the data is after 1/1/2020, leave blank.
For example, if the date in B1 is 12/1/2019, G1 would autofill “Ignore.” If the date in B2 is 2/1/2020, G2 would remain blank.
Thanks in advance!