hidden sheet shouldn't be viewed by others.

DATTATREYA

New Member
Joined
Mar 5, 2011
Messages
36
Hi,
when the sheet is hidden by me in the excel others shouldn't unhide the hidden sheet. Can any of you help me in getting the coding for this.

Thanks in advance
Regards
Datta
 

Excel Facts

Repeat Last Command
Pressing F4 adds dollar signs when editing a formula. When not editing, F4 repeats last command.
Code:
Activesheet.visible = xlveryhidden
This code will not allow user to unhide Sheet.

HOH
 
Upvote 0
Code:
Sheets(1).Visible = xlVeryHidden

you can make this sheet visible again only with vba.
 
Upvote 0
You don't even need to run a macro. Go into VBE (Alt+F11), Properties window (F4 to make it appear if it is hidden). Select the sheet and then in the Visible property, select 2 - xlSheetVeryHidden.
 
Upvote 0

Forum statistics

Threads
1,214,826
Messages
6,121,794
Members
449,048
Latest member
greyangel23

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