Sub Worksheet_Change(ByVal Target As Range)
On Error GoTo Fin: If Target.Count > 1 Then Exit Sub
If Not Intersect(Target, Range("I2:J1000")) Is Nothing Then
Application.ScreenUpdating = False
Select Case Target
Case "C": Target.Interior.Color = RGB(0, 255, 0) ' vert
Case "NC": Target.Interior.Color = RGB(255, 0, 0) ' rouge
Case Else: Target.Interior.Color = RGB(255, 255, 255) ' blanc
End Select
End If
Fin:
Application.ScreenUpdating = True
End Sub