Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.misc
|
|||
|
|||
How can I have 45 mulitple sheets with 45 different acess rights to view to each sheet
I have 45 different sheets for 44 different workers in one workbook. How can I allow all 45 workers to be able to view sheet (1) and sheet (2) can be viewed and edited only by the worker who will enter a password 22sa sheet (3) can be viewed and edited only by the worker who will enter a password 164 sheet (4) can be viewed and edited only by the worker who will enter a password xyz etc...up to 45 different workers Keep in mind that there are some cells are protected and some are not in all the sheet. Is there a way? -------------------------------------------------------------------------------- Sam Sebaihi |
#2
Posted to microsoft.public.excel.misc
|
|||
|
|||
How can I have 45 mulitple sheets with 45 different acess rights to view to each sheet
Sam
Most things are possible. This is *very* theoretical and needs much more error checking code, etc. I have used a Workbook_SheetDeActivate() event to fire a password as a sheet called User1 is fired. If the password is not correct the code returns to sheet1. You might for example want to use the worksheet code name, which means the code will still work if the worksheet tab name is changed and you may want to store the passwords for each sheet on another worksheet which is hidden using xlVeryHidden. (This cannot then be seen in the UI and only un-hidden through code), but this would make maintenance far easier. Private Sub Workbook_SheetDeactivate(ByVal Sh As Object) Dim ans As Variant If Sh.Name = "User1" Then ans = InputBox("Enter your password", "Password") If ans = "Password" Then Exit Sub End If End If Worksheets("Sheet1").Activate End Sub -- HTH Nick Hodge Microsoft MVP - Excel Southampton, England DTHIS www.nickhodge.co.uk "SAM SEBAIHI" wrote in message ... I have 45 different sheets for 44 different workers in one workbook. How can I allow all 45 workers to be able to view sheet (1) and sheet (2) can be viewed and edited only by the worker who will enter a password 22sa sheet (3) can be viewed and edited only by the worker who will enter a password 164 sheet (4) can be viewed and edited only by the worker who will enter a password xyz etc...up to 45 different workers Keep in mind that there are some cells are protected and some are not in all the sheet. Is there a way? ------------------------------------------------------------------------------ Sam Sebaihi |
#4
Posted to microsoft.public.excel.misc
|
|||
|
|||
How can I have 45 mulitple sheets with 45 different acess rights to view to each sheet
Pleasure
-- HTH Nick Hodge Microsoft MVP - Excel Southampton, England DTHIS www.nickhodge.co.uk "SAM SEBAIHI" wrote in message ... Thank you so much Nick! ------------------------------------------------------------------------------ Sam Sebaihi Faculty Western International University Associate Programs (alternate email) Phone #: (405)315-8223 Time zone: Pacific Time "Nick Hodge" wrote in message ... Sam Most things are possible. This is *very* theoretical and needs much more error checking code, etc. I have used a Workbook_SheetDeActivate() event to fire a password as a sheet called User1 is fired. If the password is not correct the code returns to sheet1. You might for example want to use the worksheet code name, which means the code will still work if the worksheet tab name is changed and you may want to store the passwords for each sheet on another worksheet which is hidden using xlVeryHidden. (This cannot then be seen in the UI and only un-hidden through code), but this would make maintenance far easier. Private Sub Workbook_SheetDeactivate(ByVal Sh As Object) Dim ans As Variant If Sh.Name = "User1" Then ans = InputBox("Enter your password", "Password") If ans = "Password" Then Exit Sub End If End If Worksheets("Sheet1").Activate End Sub -- HTH Nick Hodge Microsoft MVP - Excel Southampton, England DTHIS www.nickhodge.co.uk "SAM SEBAIHI" wrote in message ... I have 45 different sheets for 44 different workers in one workbook. How can I allow all 45 workers to be able to view sheet (1) and sheet (2) can be viewed and edited only by the worker who will enter a password 22sa sheet (3) can be viewed and edited only by the worker who will enter a password 164 sheet (4) can be viewed and edited only by the worker who will enter a password xyz etc...up to 45 different workers Keep in mind that there are some cells are protected and some are not in all the sheet. Is there a way? -------------------------------------------------------------------------- Sam Sebaihi |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Copy rows of one sheet into mutiple sheets based on column value | Excel Discussion (Misc queries) | |||
Sum up columns in different sheet with error check | Excel Discussion (Misc queries) | |||
AUTO FILTER NOT CHANGING RESULTS | Excel Discussion (Misc queries) | |||
Linking sheets to a summary sheet in workbook | Excel Discussion (Misc queries) | |||
linking multiple sheets to a summary sheet | Excel Discussion (Misc queries) |