Good day,
I need some help please? I need to accumulate the value of a cell (I39)from the value of another cell (G31) every time it changes and the code below does the trick,but only if the target cell is a manual input. How do I change it to work same for when the target cell (G31) contains a formula (=SUMG1;G30).
Please help me?
Private Sub Worksheet_Change(ByVal Target As Range)
If Target.Address = ["$G$31"] Then
[I39] = [I39] + [G31]
End If
End Sub
Bookmarks