Hi, i'm trying to get a piece of code working that looks for the Cell.Value of Cells range D225 for a value of "R ". If so then the corresponding cell in Column E should say "Paid"
My code will only work for E2 and then stop and I don't know enough to know why. I'd usually look in my vba book, but the book is at home and I'm not :-(
Any help greatly appreciated
My code will only work for E2 and then stop and I don't know enough to know why. I'd usually look in my vba book, but the book is at home and I'm not :-(
Any help greatly appreciated
Code:
Dim Cell As Range
Range("D2:D25").Select
For Each Cell In Selection
If Cell.Value = "R " Then ActiveCell.Offset(0, 1).Value = "Paid"
Next Cell