Saturday, April 20, 2019

To protect and unprotect sheet


To protect and unprotect sheet

Sub sbProtectSheet()
Sheets("Input sheet").Protect "lacerta", True, True

End Sub

Sub sbUnProtectSheet()
Sheets("Input sheet").Unprotect "lacerta"

End Sub

No comments:

Post a Comment