Option Compare Text
Private Sub Worksheet_Change(ByVal Target As Range)
Select Case True
Case Intersect(Target, [B3:C7]) Is Nothing: ' rien hors zone
Case [A2] = "non":
Application.EnableEvents = False
Application.Undo
Application.EnableEvents = True
End Select
End Sub
Private Sub Worksheet_SelectionChange(ByVal Target As Range)
If [A2] = "non" And Not Intersect(Target, [B3:C7]) Is Nothing Then
[A2].Select
End If
End Sub