I am running a small VBA to loop through a range of rows (27 - 52) to return a simple multiplication of column D X column E to column F.
My code below crashes Excel. Can anyone point out the obvious as to where i am going wrong. I am clearly no expert!
Private Sub Worksheet_Change(ByVal Target As Range)
For i = 27 To 52
Cells(i, 6) = Cells(i, 4) * Cells(i, 5)
Next i
End Sub
Thanks