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
 

Some videos you may like

Excel Facts

Workdays for a market open Mon, Wed, Friday?
Yes! Use "0101011" for the weekend argument in NETWORKDAYS.INTL or WORKDAY.INTL. The 7 digits start on Monday. 1 means it is a weekend.

prajul89

Active Member
Joined
Jul 9, 2011
Messages
404
Code:
Activesheet.visible = xlveryhidden
This code will not allow user to unhide Sheet.

HOH
 

storm8

Active Member
Joined
Apr 7, 2010
Messages
327
Code:
Sheets(1).Visible = xlVeryHidden

you can make this sheet visible again only with vba.
 

inarbeth

Well-known Member
Joined
Apr 8, 2002
Messages
912
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.
 

Watch MrExcel Video

Forum statistics

Threads
1,122,564
Messages
5,596,875
Members
414,106
Latest member
Tigretto

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
Top