I have a loop that goes down column if the column header value = "Buyout Product Date". This loop formats the cells in that column. I then need to get back to the header row and continue my normal formating. When I am at the bottom of my column, how do I jump to the top of the next column?
From here I want to continue to the next column (say "Buyout Product Date" was Column D, I've looped down to the very last data filled cell in Column D, and want to jump right back up to Column E:1. But I won't know exactly what Column this will be each time.)
Thanks for any help!
Code:
If ActiveCell.Value = "Buyout Product Date" Then
ActiveCell.Offset(1, 0).Select
Do
ActiveCell.Format = "m/d/yyyy"
ActiveCell.Offset(1, 0).Select
Loop Until IsEmpty(ActiveCell)
Thanks for any help!