I need code the will copy a formula into cell F9 and then copy this formula into all cells in column F where there is data in the last row in col E
I have listed my code below, which is not copying the data into F10 onwards
Sub Copy_Data ()
im LR As Long
LR = Cells(Rows.Count, "E").End(xlUp).Row
With Range("F9")
.FormulaR1C1 = "=RC[-2]&"" ""&RC[-1]"
.Range("f9").Copy
.Range("F10:F" & LR).Paste
.Application.CutCopyMode = False
End With
End Sub
Your assistance will be most appreciated
Regards
Howard
I have listed my code below, which is not copying the data into F10 onwards
Sub Copy_Data ()
im LR As Long
LR = Cells(Rows.Count, "E").End(xlUp).Row
With Range("F9")
.FormulaR1C1 = "=RC[-2]&"" ""&RC[-1]"
.Range("f9").Copy
.Range("F10:F" & LR).Paste
.Application.CutCopyMode = False
End With
End Sub
Your assistance will be most appreciated
Regards
Howard