I'm new to macros and I'm trying to learn how to write some simple expressions. I'd like to compare all the values in a single column to see if they match the current day of the month.
For example: Column H contains a number that corresponds to a random day of the month. I'd like to know how to write an expression in the macro so that if today == the value in column H (in other words, if today is the 19th and the value in column H is 19) then change the cell text color to red (or some other action).
So far I only know how to select a range of cells using: Range("B2, C7, I8") but I don't know how to select an entire column. Can anyone tell me how I could write such an expression?
*Note: I'm not talking about comparing columns across sheets. I just need to compare the values in one column to the current date. Thanks!