Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi,
I want to use the below line lock a sheet ActiveSheet.Protect DrawingObjects:=True, Contents:=True, Scenarios:=True and assign a password. then the macro will hide the sheet. ActiveWindow.SelectedSheets.Visible = False Another Macro will unhide the sheet and then unlock it with a password prompt. ActiveWindow.SelectedSheets.Visible = False ActiveSheet.Unprotect but this does not work. I cannot assign a password on protecting. any ideas? |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Bug - Protect Sheet ? | Excel Discussion (Misc queries) | |||
How to protect all sheet ? | Excel Worksheet Functions | |||
Protect Workbook Vs Protect Sheet | New Users to Excel | |||
Can I protect columns w/in a "List" using Protect Sheet? | Excel Discussion (Misc queries) | |||
excel - macro code to open a protected sheet, enter passowrd, and then protect sheet | Excel Programming |