Hide a sheet in excel file from endusers forever

louglas

New member
Joined
Nov 7, 2012
Messages
1
Reaction score
0
Points
0
Hi All,

I had come across few excel files where few sheets are hidden forever i.e., the visible property cant be set by other users in properties window.

The VBA code to make the sheet visible doesnt have any effect and no impact on the hidden sheets.

Im looking for a similar information / approach to do for my excel file for a tool creation.
Can anyone helpme to achieve this. Thanks in advance.
 
Worksheets have 3 states: visible, hidden and veryhidden. The veryhidden state can't be seen through the user interface, but the sheets can be seen and unhidden via VBA.

The code to set a worksheet to veryhidden is:

Code:
worksheets("Sheet1").visible = xlsheetveryhidden

Beyond that, the only way I can see a workbook having sheets that don't become visible at all is by having an addin. But then no sheets will every be visible, as the addin is essentially intended to be a code container.
 
Want to hide a sheet forever? Then delete them and store the data elsewhere.
 
Back
Top