Hiding worksheet

  • Thread starter Thread starter Link
  • Start date Start date
Hi,

To hide it use

Sheets("Sheet1").Visible = False

or to prevent someone simply unhiding it use

Sheets("Sheet1").Visible = xlVeryHidden

Mike
 
Do you click on the sheet tab?

Mike H said:
Hi,

To hide it use

Sheets("Sheet1").Visible = False

or to prevent someone simply unhiding it use

Sheets("Sheet1").Visible = xlVeryHidden

Mike
 
Hi,

It can go as worksheet code. Right click your sheet tab, view code and paste
this in and run it

Sub HideMe()
Sheets("Sheet1").Visible = xlVeryHidden

End Sub

Mike
 
after using xlVeryHidden, how would I unhide the sheet in my workbook?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top