Require password to view worksheet

WeThotUWuzAToad

New Member
Joined
Dec 5, 2017
Messages
8
Hello,


How do you protect a given worksheet so that a password is required even to view the worksheet?


For example, suppose you have a workbook with four worksheets and you want the viewing of any given worksheet to require entry of a corresponding password (or a master password) as shown in the screenshot located here:

https://imgur.com/ceEayAx

I've googled this question but the results tend to address protection relating to change privileges rather than viewing privileges.


Thanks
 

Excel Facts

How to calculate loan payments in Excel?
Use the PMT function: =PMT(5%/12,60,-25000) is for a $25,000 loan, 5% annual interest, 60 month loan.
.
By the way, can you also tell me how to designate a different graphic (object) to use for opening the Password box?

You can paste the image on your sheet, then right click the image and select VIEW CODE. That will take you to the MACRO LISTINGS. Select the macro
for running the password (chkMacroaccess) and the next time you click the image ....

Resources : http://www.ozgrid.com/Excel/assign-macros.htm & https://www.tutorialspoint.com/excel_macros/excel_assigning_macros_to_objects.htm
 
Upvote 0

Forum statistics

Threads
1,223,911
Messages
6,175,333
Members
452,636
Latest member
laura12345

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