Password protect to hide sheets and visible only to the right worker

rama1209

New Member
Joined
Feb 25, 2011
Messages
22
I have a sheet with multiple sheets for different employees. When the workbook is opened I want the employee to be able to see only his/her sheet. The manager should be able to see all sheets. The sheets should be password protected so that only the correct sheet is displayed to the right employee.
PS I wish I can upload my files so that you can see what I mean. I hope this message is clear.
 

Excel Facts

How to create a cell-sized chart?
Tiny charts, called Sparklines, were added to Excel 2010. Look for Sparklines on the Insert tab.
Hi there,

Let me ask you a question first. If you're wanting to password protect sheets, where will you store your passwords? You could store it in the VBA code, but anyone who presses Alt + F11 will see the passwords for everybody. If you password protect your VBProject, you'll keep out a lot more people, but it's still not 100% secure. If you're going to store passwords not in the same file, where would they be? And would those people have access to that location? If so, again, not secure. You could always just go by the account which is logged in, but if somebody is accessing from another persons computer (if they have their password) then again, not secure.

Think about it and post back your thoughts. Each would come with a very different approach.
 
Upvote 0
You should be able to. Click the Post Rely button, you can't do it in the Quick Reply window.
 
Upvote 0
Sorry...

Here is the gist of it:



Name Cash Compuer total Diff Denom. Qty total denom qty tot..
John 10 11 -1 5 1 5 10 1 10
Ed 12 9 3 1 5 5 .25 8 2
Ram 14 14 0 10 12


Total deposit John Ed
Sheet name sheet name Sheet name

Lets say I have 4 sheets called Total deposit, John, Ed, Ram. I want only user 'Manager' to see the workbook. User 'John' can only see and work on sheet 'John'. User 'Ed' can only see and work on sheet 'Ed'.
Nobody can view or change code. I need help in coding that please.
 
Upvote 0

Forum statistics

Threads
1,224,595
Messages
6,179,798
Members
452,943
Latest member
Newbie4296

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top