Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
COL COL is offline
external usenet poster
 
Posts: 3
Default Permanently hide a worksheet in Excel

I want to hide a Worksheet AND Password protect the workbook.

When opened as read only you cannot unhide.
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11,501
Default Permanently hide a worksheet in Excel

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   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 22,906
Default Permanently hide a worksheet in Excel

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   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,344
Default Permanently hide a worksheet in Excel

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
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
How can you hide a tab for a single worksheet in Excel? TDC Excel Discussion (Misc queries) 4 February 20th 07 10:22 AM
How do you permanently hide and password protect a column? Vegetable Dave Excel Discussion (Misc queries) 5 June 6th 06 06:34 PM
is there a way to hide a whole worksheet in excel? Marion McFarlane Excel Discussion (Misc queries) 2 November 14th 05 12:44 AM
Can I permanently delete/hide data within Pivot Tables? Peter Charts and Charting in Excel 1 July 28th 05 12:39 PM
How do I hide a worksheet in Excel and use a password to un-hide . Dchung Excel Discussion (Misc queries) 3 December 2nd 04 06:24 AM


All times are GMT +1. The time now is 02:56 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"