Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.misc
|
|||
|
|||
Macros on Protected worksheet
How can I allow a macro command within a protected worksheet?
-- Ronnie |
#2
Posted to microsoft.public.excel.misc
|
|||
|
|||
Macros on Protected worksheet
2 ways.
1 - Change the protection to allow macros to modify the sheet. This requires the addition of a parameter to the protection Sheets("Sheet1").Protect UserInterfaceOnly:=true 2 - Unprotect the sheet. Run your code. Reprotect the sheet Sheets("Sheet1").UnProtect Password:="Whatever" 'Your code here Sheets("Sheet1").Protect Password:="Whatever" -- HTH... Jim Thomlinson "Ronnie" wrote: How can I allow a macro command within a protected worksheet? -- Ronnie |
#3
Posted to microsoft.public.excel.misc
|
|||
|
|||
Macros on Protected worksheet
Thanks! I'll give it a try.
-- Ronnie "Jim Thomlinson" wrote: 2 ways. 1 - Change the protection to allow macros to modify the sheet. This requires the addition of a parameter to the protection Sheets("Sheet1").Protect UserInterfaceOnly:=true 2 - Unprotect the sheet. Run your code. Reprotect the sheet Sheets("Sheet1").UnProtect Password:="Whatever" 'Your code here Sheets("Sheet1").Protect Password:="Whatever" -- HTH... Jim Thomlinson "Ronnie" wrote: How can I allow a macro command within a protected worksheet? -- Ronnie |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
run macros on protected sheet | Excel Discussion (Misc queries) | |||
Run macros on protected worksheet | Excel Worksheet Functions | |||
Run macros on protected worksheet | Excel Worksheet Functions | |||
allow macros in protected worksheet | Excel Worksheet Functions | |||
Is is possible to run macros on a protected worksheet | Excel Worksheet Functions |