Bonjour,
Tu peux tester le code suivant .
Private Sub Worksheet_SelectionChange(ByVal Target As Range)
Dim rng As Range
If Not Application.Intersect(Target, Me.Range("C2:D40")) Is Nothing Then
For Each rng In Application.Intersect(Target, Me.Range("C2:D40"))
Application.OnKey "{DEL}", ""
Next rng
Else
Application.OnKey "{DEL}"
End If
End Sub
En espèrant que cela t'aide ...