I have a spreadsheet that I currently use in MS Excel. I am trying to convert the sheet to a Google Docs spreadsheet, but am unable to get my excel script to function in google docs.
It's a simple accumulation script repeated across a row of cells:
Private Sub Worksheet_Change(ByVal Target As Excel.Range)
With Target
If .Address(False, False) = "C3" Then
If IsNumeric(.Value) Then
Application.EnableEvents = False
Range("C4").Value = Range("C4").Value + .Value
Application.EnableEvents = True
End If
End If
End With
If anyone can translate that to what I need in google docs, or even better improve on it so that the script covers the whole row (example: if cells c4, d4, and e4 have the values of 5, 7, 12 respectively and I put into c3: 10, then c4 would show 15; if I put into d3: 6, then d4 would be 13 and if I put 7 into e3, then e4 would show 19).