Private Sub Worksheet_Change(ByVal Target As Range)
If Not Intersect(Target, Range("J49")) Is Nothing Then
If IsNumeric(Target.Value) Then
If Range("O49") = 1 Then
ActiveSheet.Shapes.Range(Array("TR2Z1")).Fill.ForeColor.RGB = vbRed
Else
ActiveSheet.Shapes.Range(Array("TR2Z1")).Fill.ForeColor.RGB = vbGreen
End If
End If
End If
If Not Intersect(Target, Range("B1")) Is Nothing Then
' Code si B1 a changé
End If
End Sub