Private Sub Worksheet_Change(ByVal Target As Range)
Dim isect As Variant
Set isect = application.Intersect(Target, Range("N8:N449"))
If Not (isect Is Nothing) Then
Call Mein_Macro
End If
End Sub
Gruß Harald
Private Sub Worksheet_Change(ByVal Target As Range)
Dim isect As Variant
Set isect = application.Intersect(Target, Range("N8:N449"))
If Not (isect Is Nothing) Then
if Cells(Target).Value > 0 then
Call Mein_Macro_1 'für positive Werte in der geänderten zelle
else
Call Mein_Macro_2 'für negative Werte in der geänderten zelle
End If
Set isect = application.Intersect(Target, Range("P8:P449"))
If Not (isect Is Nothing) Then
if Cells(Target).Value > 0 then
Call Mein_Macro_3 'für positive Werte in der geänderten zelle
else
Call Mein_Macro_4 'für negative Werte in der geänderten zelle
End If
End Sub
Und so weiter und so fort, Deiner Programmierphantasie für zusätzliche Abfragen oder Makroaufrufe sind keine Grenzen gesetzt.
Gruß Harald