Problem VBA
16.11.2002 19:28:26
Thomas
Zelle a1 soll sich immer um den wehrt in Zelle B2und C2 erhöhen aber wen ich in Zelle b2 20 und in Zelle c2 10 eingebe
ist ist a1 30 dann aber in b2 wieder 5 ist a1 25 soll aber 35 sein
Option Explicit
Private Sub Worksheet_Change(ByVal Target As Range)
If Target.Address = "$B$2" Or Target.Address = "$C$2" Then Cells(1, 1) = Cells(1, 1) + Target.Value
End Sub
funktioniert nicht