Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Macro
One way:
Public Sub ProtectAll() Const PWORD As String = "drowssap" Dim wsSheet As Worksheet For Each wsSheet In Worksheets wsSheet.Protect PWORD Next wsSheet End Sub In article , Deepwater wrote: I would like to create a Macro to open worksheets( 30 or 31 sheets in one work book) and protect with password. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Macro recorded... tabs & file names changed, macro hangs | Excel Worksheet Functions | |||
Macro Help Needed - Excel 2007 - Print Macro with Auto Sort | Excel Worksheet Functions | |||
My excel macro recorder no longer shows up when recording macro | Excel Discussion (Misc queries) | |||
macro to delete entire rows when column A is blank ...a quick macro | Excel Programming | |||
Start Macro / Stop Macro / Restart Macro | Excel Programming |