MemphisVBA
Technical User
I have a spreadsheet that has several columns - every time this report is ran, the amount of rows will vary. Can you help me w/ the VBA that would do this:
let's say column A has dates in it. The first date will always start at A2 (first row is a header row).
If the date at A3 is the same as A2, then I want the text in each cell to be red. Basically, if a cell's date is the same as the cell above it, make them red. I would like this to step through all the rows. I guess I could do this with conditional formatting, but I would like to learn how to do this via VBA and a for/next loop.
Thanks!
let's say column A has dates in it. The first date will always start at A2 (first row is a header row).
If the date at A3 is the same as A2, then I want the text in each cell to be red. Basically, if a cell's date is the same as the cell above it, make them red. I would like this to step through all the rows. I guess I could do this with conditional formatting, but I would like to learn how to do this via VBA and a for/next loop.
Thanks!