Prev Previous Post   Next Post Next
  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 70
Default Security

Thank you, this works a treat. Luckly I am the only person that realy knows
anything about excel on site.

Just 2 more things, but these are not important:
1. when the box comes up to enter the password '16' apperars in the title
bar, can i get rid of this?
2. is there anyway that when the password is typed it shows *'s and not what
you are actually typing.

If this can not be done, thank you anyway its been a great help.

The Rook

"Mike H" wrote:

The macro will hid the sheet if it's visible or unhide it if it isn't and my
advice remains the same about security. To auto hide the sheet paste this bit
of the code into the workbook before_close event

If Worksheets("revenue").Visible = True Then '<Change worksheet name as req'd
Worksheets("revenue").Visible = xlVeryHidden
Else
Worksheets("revenue").Visible = True
End If

Mike


"The Rook" wrote:

Thanks for that.

Is it possible to auto hide the Revenue sheet when the file is closed?

regards

"Mike H" wrote:

The first thing to say is that if the information on the hidden page is
sensitive then don't do it. Excel security is like tissue paper and anyone
with a basic knowledge will unhide the sheet very quickly indeed. That said
if you want to proceed then use xlveryhidden as in this macro:-

Sub hideme()
msg = "Enter password"
response = InputBox(msg, vbCritical)
If response < "xxx" Then End '<Change as required

If Worksheets("revenue").Visible = True Then '<Change worksheet name as req'd
Worksheets("revenue").Visible = xlVeryHidden
Else
Worksheets("revenue").Visible = True
End If
End Sub

Mike

"The Rook" wrote:

I have an excel workbook that contain serveral worksheets. I am wanting to
set up security so that certain people can only veiw certain worksheets and
not others.

ie I have an Order book revenue sheet that I only want the MD & FD to view
but would like everyone ealse to view everything but this sheet.

Is it possible?

regards



 
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
Form Security elyse Excel Discussion (Misc queries) 0 July 3rd 06 02:41 PM
Spreadsheet Security Lee Meadowcroft Excel Discussion (Misc queries) 0 April 6th 06 09:40 PM
Macro Security Mike Goodson Excel Discussion (Misc queries) 0 October 10th 05 06:16 PM
Security Certificate Rich57 Excel Worksheet Functions 0 October 3rd 05 10:15 PM
Macro Security Clementius Setting up and Configuration of Excel 4 September 13th 05 01:37 AM


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