need help with password protection and macro
I am sorry,
I posted wrong syntax it should be:
Option Explicit
Private Sub Workbook_Open()
ThisWorkbook.Sheets("Patrol Log") _
.Protect DrawingObjects:=True, _
contents:=True, Scenarios:=True, _
UserInterfaceOnly:=True
End Sub
|