Merci pour ta réponse ça ne marche malheuremsement pas
voici mon code j'ai modifié en ajoutant le tiens mais rien
Private Sub Worksheet_Change(ByVal Target As Range)
If Target.Address = "$A$1" Then
If IsEmpty(Target.Value) Or Not IsNumeric(Target.Value) Then
ActiveSheet.Shapes("Oval 1" ).Fill.ForeColor.RGB = RGB(255, 255, 255)
ActiveSheet.Shapes("Oval 2" ).Fill.ForeColor.RGB = RGB(255, 255, 255)
ActiveSheet.Shapes("Oval 3" ).Fill.ForeColor.RGB = RGB(255, 255, 255)
Exit Sub
End If
If Target.Value >= 100 Then
ActiveSheet.Shapes("Oval 3" ).Fill.ForeColor.RGB = RGB(0, 204, 0)
ActiveSheet.Shapes("Oval 1" ).Fill.ForeColor.RGB = RGB(255, 255, 255)
ActiveSheet.Shapes("Oval 2" ).Fill.ForeColor.RGB = RGB(255, 255, 255)
ElseIf Target.Value <= -100 Then ActiveSheet.Shapes("Oval 1" ).Fill.ForeColor.RGB = RGB(255, 0, 0): _
ActiveSheet.Shapes("Oval 2" ).Fill.ForeColor.RGB = RGB(255, 255, 255): _
ActiveSheet.Shapes("Oval 3" ).Fill.ForeColor.RGB = RGB(255, 255, 255)
Else
ActiveSheet.Shapes("Oval 1" ).Fill.ForeColor.RGB = RGB(255, 255, 255)
ActiveSheet.Shapes("Oval 2" ).Fill.ForeColor.RGB = RGB(255, 128, 0)
ActiveSheet.Shapes("Oval 3" ).Fill.ForeColor.RGB = RGB(255, 255, 255)
End If
End If
End Sub