billandrew
Well-known Member
- Joined
- Mar 9, 2014
- Messages
- 743
Evening
Is there a simpler way to perform this action. and possibly center align the offset value without a new loop.
Thanks guys
Is there a simpler way to perform this action. and possibly center align the offset value without a new loop.
Thanks guys

Code:
Dim r As RangeSet r = Range("Z3", Range("Z" & Rows.Count).End(xlUp))
For Each c In r
If c.Value = "AmountPaid" Then c.Offset(, 8) = "Close"
If c.Value = "Amount Paid" Then c.Offset(, 12) = "Close"
If c.Value = "Amount Paid" Then c.Offset(, 16) = "Close"
If c.Value = "Amount Paid" Then c.Offset(, 20) = "Close"
Next c