Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi,
I need code to re-set the password on all my sheets within a workbook if the user forgets to re-set it. I am currently using a single 'ActiveSheet' code, but as I have added more sheets need code to re-set on all sheets....my sheets do need to allow users to input to unlocked cells.....am using this: Private Sub Workbook_BeforeClose(Cancel As Boolean) ActiveSheet.Protect Password:="MyPassword", DrawingObjects:=True, _ Contents:=True, Scenarios:=True End Sub Thanks Craig |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Excel Data Protection- AKA: Sheet/Macro Password Protection | Setting up and Configuration of Excel | |||
Password Protection for Individual Worksheets ??? | Excel Worksheet Functions | |||
Password Protection for Worksheets already protected | Excel Worksheet Functions | |||
Worksheets with password protection | Excel Worksheet Functions | |||
Cell Password Protection-Multiple Worksheets | Excel Worksheet Functions |