Private Sub BoutonEffacer_Click()
Dim Reponse As Variant
Dim PosCel As Byte
Application.EnableEvents = False
Reponse = MsgBox("Voulez-vous vraiment tout effacer?", vbYesNo, "Effacement")
If Reponse = vbYes Then
Application.ScreenUpdating = False
For PosCel = 0 To Range(Range("B2"), Range("B2").End(xlDown)).Offset(0, 1).Cells.Count - 1
Range("C2").Offset(PosCel, 0).ClearContents
Next PosCel
ThisWorkbook.Sheets(1).Shapes("CarteFrance").Fill.ForeColor.RGB = 16777215 ' Blanc
ThisWorkbook.Sheets(1).Shapes("Rectangle 5").Fill.ForeColor.RGB = 15773696 ' Bleu
ThisWorkbook.Sheets(1).Shapes("Freeform 31").Fill.ForeColor.RGB = 10921638 ' Gris
ThisWorkbook.Sheets(1).Shapes("Freeform 6").Fill.ForeColor.RGB = 10921638 ' Gris
ThisWorkbook.Sheets(1).Shapes("Freeform 13").Fill.ForeColor.RGB = 10921638 ' Gris
ThisWorkbook.Sheets(1).Shapes("Freeform 8").Fill.ForeColor.RGB = 10921638 ' Gris
ThisWorkbook.Sheets(1).Shapes("Freeform 10").Fill.ForeColor.RGB = 10921638 ' Gris
ThisWorkbook.Sheets(1).Shapes("Freeform 19").Fill.ForeColor.RGB = 10921638 ' Gris
ThisWorkbook.Sheets(1).Shapes("Freeform 15").Fill.ForeColor.RGB = 10921638 ' Gris
ThisWorkbook.Sheets(1).Shapes("Freeform 23").Fill.ForeColor.RGB = 10921638 ' Gris
ThisWorkbook.Sheets(1).Shapes("Freeform 28").Fill.ForeColor.RGB = 10921638 ' Gris
ThisWorkbook.Sheets(1).Shapes("Freeform 17").Fill.ForeColor.RGB = 10921638 ' Gris
For i = 2 To 97
ActiveSheet.Shapes.Range(Array(Cells(i, 2))).Select
Selection.ShapeRange(1).TextFrame2.TextRange.Characters.Text = ""
Next
Cells(2, 3).Select
Application.ScreenUpdating = True
End If
Application.EnableEvents = True
For Each cel In Sheets("Evolutions").Range("C3:C" & Sheets("Evolutions").Range("C" & Rows.Count).End(xlUp).Row)
ad = cel.Offset(-1).Address
Sheets("Répartition").Range(ad) = cel.Value
Next
End Sub