Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 41
Default password protect a single sheet

You could have the worksheet hidden and the workbook protected this will mean
that users cant unhide the sheets without the password.

If you have macros enabled then you could also have a command button on one
of the active sheets to enable the users who are allowed to see the hidden
sheets to do so quickly, create a command button and use code something like

Private Sub CommandButton1_Click()

Dim passw As String
passw = InputBox("Enter Password to unhide sheets")
ActiveWorkbook.Unprotect (passw)
Worksheets("yoursheet").Visible = True
Worksheets("yoursheet2").Visible = True

End Sub

Hth

Stu

"Brian" wrote:

hello all,
i was wondering if there is a way to password protect a worksheet. i have
many workbooks with multiple worksheets that people have access to. there are
sheets that people do not need to see. i know i can hide these sheets, but i
would rather have a password to open them so that if there are people who
need to open them they can by entering a password.
thank you for your time and have a great day!
--
Thank You in advance, Brian

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
Password Protect a Sheet Lynn Excel Discussion (Misc queries) 1 October 27th 06 04:41 PM
How do I password protect hidden sheet? Mascot Excel Discussion (Misc queries) 1 October 5th 06 04:52 PM
Password protect a sheet without Macros Cappa Excel Discussion (Misc queries) 3 May 27th 06 02:49 AM
How do I password protect a single tab in a worksheet in excel ? Fritz Excel Discussion (Misc queries) 4 March 6th 06 03:30 PM
Password protect cell ranges NOT sheet Nadia Excel Discussion (Misc queries) 3 December 13th 05 05:57 AM


All times are GMT +1. The time now is 08:05 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"