R
Randy Reese
I need code that if column I ,starting with row 2 (with unknown number of
rows) is blank, then puts an a in column A.
rows) is blank, then puts an a in column A.
acw said:Hi
Ok revised using column B
Sub aaa()
Range("B65536").End(xlUp).Select
While ActiveCell.Row > 1
If IsEmpty(ActiveCell.offset(0,7)) Then Cells
(ActiveCell.Row, 1) = "a"
ActiveCell.Offset(-1, 0).Select
Wend
End Sub
Tony