i use this, which is inserted into the workbook object in vba, works brilliantly and will only allow users to change the areas of the sheet that you specifically unprotect through "menu - format, cells,protection tab". it will password protect the whole workbook, only downside i've found is that to change anything you need the password for every sheet individually
Private Sub Workbook_Open()
Dim wSheet As Worksheet
For Each wSheet In Worksheets
wSheet.Protect Password:="Secret", UserInterFaceOnly:=True, AllowFormattingCells:=True, DrawingObjects:=False, contents:=True, Scenarios:=False
Next wSheet
End Sub
Bookmarks