Hi,
I need help to convert following code with any loop. Can I get any help, please.
thank you
I need help to convert following code with any loop. Can I get any help, please.
thank you
Code:
Dim lastR As Long
lastR = Cells(Rows.count, "N").End(xlUp).Row - 5
Range("O6").Resize(lastR) = "=IF(N6<>"""",N6)"
Range("P6").Resize(lastR) = "=IF(N6<>"""",N6)"
Range("Q6").Resize(lastR) = "=IF(N6<>"""",N6)"
Range("R6").Resize(lastR) = "=IF(N6<>"""",N6)"
Range("S6").Resize(lastR) = "=IF(N6<>"""",N6)"
Range("T6").Resize(lastR) = "=IF(N6<>"""",N6)"
Range("U6").Resize(lastR) = "=IF(N6<>"""",N6)"