Unprotect workbook
Hi,
To unprotect a sheet with a click on a pushbutton I wrote:
Private Sub CommandButton5_Click()
Dim thing As Worksheet
For Each thing In Worksheets
thing.Unprotect
Next thing
End Sub
But what is the syntax to unprotect and protect a workbook?
Thanks
|