Private Const RangeInterdit = "D3,G3"
Private Sub Worksheet_Change(ByVal Target As Range)
Dim Cellule As Range
If Not Intersect(Target, ActiveSheet.Range(RangeInterdit)) Is Nothing Then
For Each Cellule In ActiveSheet.Range(RangeInterdit)
If Len(CStr(Cellule.Value)) = 0 Then
Application.EnableEvents = False
Application.Undo
Application.EnableEvents = True
Exit For
End If
Next Cellule
If Not Cellule Is Nothing Then
MsgBox "Ça va pas la tête d'effacer " & Cellule.Address(0, 0) & " ?"
End If
End If
End Sub