Unhide sheet

jitendra

Board Regular
Joined
Aug 31, 2011
Messages
92
I have hided a sheet in a file which contains calculations and the working sheet is protected but many calculations are linked with the hide sheet but the user is easily can unhide it so it there any solution to protect the calculation sheet by giving password, means if the user trying to unhide the sheet then it will prompt a password, If anyone knows the solution please help me thanks in advance.
 

Excel Facts

How to find 2nd largest value in a column?
MAX finds the largest value. =LARGE(A:A,2) will find the second largest. =SMALL(A:A,3) will find the third smallest
You can set the sheet to VeryHidden

Press ALT+F11 to open the VBA editor window..
Click View - Project Explorer
Locate and click on the appropriate sheet
Click View - Properties Window
Locate the property called "Visible"
Change it to xlSheetVeryHidden


Now the sheet will not be visible via format - sheet - unhide

And of coarse, reverse the process to unhide the sheet.


but still, if user's know anything about VBA, they might figure this out too..
To prevent that, you can password protect the VBA project by
clicking Tools (in the VBA window) - VBA Project Properties - Protection
Check "Locked for editing"
Enter a password
click OK
click SAVE
 
Upvote 0

Forum statistics

Threads
1,224,521
Messages
6,179,291
Members
452,902
Latest member
Knuddeluff

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