Sub Nettoyer_la_grille()
Dim mois As String, i As Integer, j As Integer
mois = Application.InputBox("Quel mois (en chiffre) veux-tu effacer ?")
If mois = 0 Or "" Then Exit Sub
If mois = False Then Exit Sub
With Sheets("Partenaires")
Unprotect
Range("D4") = mois
For i = 130 To 5 Step -1
For j = 130 To 5 Step -1
If Cells(i, j) = mois Then Cells(i, j).ClearContents
Next j
Next i
Protect DrawingObjects:=False, Contents:=True, Scenarios:=False, AllowFormattingCells:=True, AllowFormattingColumns:=True, AllowFormattingRows:=True
End With
End Sub