Sub protéger()
protection True
End Sub
Sub déprotéger()
protection False
End Sub
Private Sub protection(VerrouFermé As Boolean)
Dim ws As Worksheet
For Each ws In Worksheets
Select Case VerrouFermé
Case True
ws.Protect
Case False
ws.Unprotect
End Select
Next
End Sub