Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
I want to hide a Worksheet AND Password protect the workbook.
When opened as read only you cannot unhide. |
#2
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Hi,
The best you can do is make it XlVeryHidden but don't rely on it because it can be easily defeated. Mike "Col" wrote: I want to hide a Worksheet AND Password protect the workbook. When opened as read only you cannot unhide. |
#3
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Excel 2003 and earlier....................
FormatSheetHide ToolsProtectionProtect Workbook with a password. Note: internal protection passwords are easily cracked so depends upon how snoopy your users will be. Do you also want to place password-to-open on the workbook? That can be done through FileSave AsToolsGeneral Options. Gord Dibben MS Excel MVP On Wed, 15 Oct 2008 14:01:01 -0700, Col wrote: I want to hide a Worksheet AND Password protect the workbook. When opened as read only you cannot unhide. |
#4
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Hi,
Actually, if I read you question correctly, you want the sheet to remain hidden if the workbook is opened read only. So I assume you want the user to be able to unhide it if they open, not read only. The solutions you have recieved are good but they really don't address the read only issue. To handle this you would add code such as this to the Open_Workbook object: Private Sub Workbook_Open() If ActiveWorkbook.ReadOnly = False Then ActiveWorkbook.Unprotect "password" End If End Sub -- Thanks, Shane Devenshire "Col" wrote: I want to hide a Worksheet AND Password protect the workbook. When opened as read only you cannot unhide. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
How can you hide a tab for a single worksheet in Excel? | Excel Discussion (Misc queries) | |||
How do you permanently hide and password protect a column? | Excel Discussion (Misc queries) | |||
is there a way to hide a whole worksheet in excel? | Excel Discussion (Misc queries) | |||
Can I permanently delete/hide data within Pivot Tables? | Charts and Charting in Excel | |||
How do I hide a worksheet in Excel and use a password to un-hide . | Excel Discussion (Misc queries) |