Private Sub CommandButton1_Click()
Dim Ws As Worksheet
Application.ScreenUpdating = False
If CommandButton1.Caption = "Protect Sheets" Then
For Each Ws In ThisWorkbook.Worksheets
Ws.Protect
Next Ws
CommandButton1.Caption = "Unprotect Sheets"
Else
For Each Ws In ThisWorkbook.Worksheets
Ws.Unprotect
Next Ws
CommandButton1.Caption = "Protect Sheets"
End If
Application.ScreenUpdating = True
End Sub