Home |
Search |
Today's Posts |
#3
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Only through vba macro.
Sub ProtectAllSheets() Application.ScreenUpdating = False Dim n As Single For n = 1 To Sheets.Count Sheets(n).Protect Password:="justme" Next n Application.ScreenUpdating = True End Sub Sub UnprotectAllSheets() Application.ScreenUpdating = False Dim n As Single For n = 1 To Sheets.Count Sheets(n).Unprotect Password:="justme" Next n Application.ScreenUpdating = True End Sub Gord Dibben MS Excel MVP On Wed, 1 Feb 2006 16:45:36 -0600, Superjet wrote: I am using Excel XP. I have a workbook with 12 worksheets, 1 for each month of the year. Each worksheet has a timesheet used to report hours. Each of the twelve timesheets is exactly the same. To protect each sheet, I go into each sheet and apply the Tools/Protection/Protect Sheet approach. I have to repeat this 12 times to protect them and then 12 times to unprotect them. My question is "Is there a faster way to apply and remove worksheet protection? Appreciate your help!!!!!!!!! |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Adding same cells across multiple worksheets | Excel Worksheet Functions | |||
SUMif or SUMproduct across multiple worksheets? | Excel Worksheet Functions | |||
protecting multiple worksheets | Excel Discussion (Misc queries) | |||
Functions across multiple worksheets | Excel Worksheet Functions | |||
Adding multiple worksheets | Excel Worksheet Functions |