Ironman
Well-known Member
- Joined
- Jan 31, 2004
- Messages
- 1,069
- Office Version
- 365
- Platform
- Windows
Hi
The below runs with a Workbook Open event to allow VBA to modify a protected sheet without unprotecting the sheet:
I would be very grateful if you could amend this code so that another sheet (named "Daily Tracking") can also be temporarily unprotected.
Many thanks!
The below runs with a Workbook Open event to allow VBA to modify a protected sheet without unprotecting the sheet:
Code:
Private Sub Workbook_Open()
With ThisWorkbook
Call UnprotectWorksheet(wks:=.Sheets("Training Log"))
Call ProtectWorksheet(wks:=.Sheets("Training Log"))
End With
Many thanks!