Hiding worksheet

M

Mike H

Hi,

To hide it use

Sheets("Sheet1").Visible = False

or to prevent someone simply unhiding it use

Sheets("Sheet1").Visible = xlVeryHidden

Mike
 
L

Link

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
 
M

Mike H

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
 

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

Top