Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default hiding worksheets from certain users with passwords

hi there.

i've managed to set up an excel workbook where upon opening, it asks
you for a password and displays a certain sheet linked that user. this
user then cannot unhide or view the other worksheets in the workbook.
my problem is i want to enable some users to be able to see all the
worksheets in a workbook. ie all worksheets are visible to one user.
does anyone have any ideas if this is possible?

any help much appreciated

kenny

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,646
Default hiding worksheets from certain users with passwords

Apply a master password known only to the privileged user and make all sheets
visible when getting this password!

Regards,
Stefi



€¯ ezt Ć*rta:

hi there.

i've managed to set up an excel workbook where upon opening, it asks
you for a password and displays a certain sheet linked that user. this
user then cannot unhide or view the other worksheets in the workbook.
my problem is i want to enable some users to be able to see all the
worksheets in a workbook. ie all worksheets are visible to one user.
does anyone have any ideas if this is possible?

any help much appreciated

kenny


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Can you help me? hiding worksheets from certain users with passwo

I'm actually looking at trying to hide certain sheets from certain people.
I'm a technician and pretty good with Excel, but not this good. Would you
mind letting me know how you did this?

" wrote:

hi there.

i've managed to set up an excel workbook where upon opening, it asks
you for a password and displays a certain sheet linked that user. this
user then cannot unhide or view the other worksheets in the workbook.
my problem is i want to enable some users to be able to see all the
worksheets in a workbook. ie all worksheets are visible to one user.
does anyone have any ideas if this is possible?

any help much appreciated

kenny


  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,646
Default Can you help me? hiding worksheets from certain users with passwo

Something like this:

Private Sub Workbook_Open()

'...
masterpassword = "123456789" 'e.g.
If psw = masterpassword Then 'psw: password given by user
Dim wks As Worksheet
For Each wks In ActiveWorkbook.Worksheets
wks.Unprotect 'if sheets are protected (add password option if
necessary)
wks.Visible = True
Next wks
Else 'other passwords
'your code to display sheets linked to users
End If
'...

End Sub

Regards,
Stefi


€˛Carolyn at VW€¯ ezt Ć*rta:

I'm actually looking at trying to hide certain sheets from certain people.
I'm a technician and pretty good with Excel, but not this good. Would you
mind letting me know how you did this?

" wrote:

hi there.

i've managed to set up an excel workbook where upon opening, it asks
you for a password and displays a certain sheet linked that user. this
user then cannot unhide or view the other worksheets in the workbook.
my problem is i want to enable some users to be able to see all the
worksheets in a workbook. ie all worksheets are visible to one user.
does anyone have any ideas if this is possible?

any help much appreciated

kenny


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
Different Passwords for different worksheets in one workbook exalan Excel Worksheet Functions 8 January 15th 10 11:17 PM
Passwords for Multiple Users of Workbook Brandy Excel Discussion (Misc queries) 6 June 18th 09 07:22 PM
Passwords on Worksheets sp3cialist Excel Worksheet Functions 0 July 25th 06 02:21 PM
different passwords for each worksheets jhucks8 Excel Worksheet Functions 1 May 3rd 06 11:50 PM
different passwords for each worksheets jhucks8 Excel Worksheet Functions 0 May 3rd 06 07:04 PM


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

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

About Us

"It's about Microsoft Excel"