I actually have several cells that I need to do this...can I simply use
something like this?:
If Target.Address = "$A$1","$C$14","$D$3 Then Target.Value = Target.Value +
> While I personally am not a fan of doing this as there is no audit trail
> to
[quoted text clipped - 27 lines]
>> that adds and then link the total cell. I've never done this and don't
>> recall ever seeing it done.
Jim Thomlinson - 29 Aug 2007 20:44 GMT
A little trickier than that...
Private dblAccumulator As Double
Private Sub Worksheet_Change(ByVal Target As Range)
On Error GoTo Errorhandler
Application.EnableEvents = False
Select Case Target.Address
Case "$A$1", "$B$1", "$C$1"
Target.Value = Target.Value + dblAccumulator
End Select
Errorhandler:
Application.EnableEvents = True
End Sub
Private Sub Worksheet_SelectionChange(ByVal Target As Range)
Select Case Target.Address
Case "$A$1", "$B$1", "$C$1"
dblAccumulator = Target.Value
End Select
End Sub

Signature
HTH...
Jim Thomlinson
> I actually have several cells that I need to do this...can I simply use
> something like this?:
[quoted text clipped - 32 lines]
> >> that adds and then link the total cell. I've never done this and don't
> >> recall ever seeing it done.