Deactivating worksheets

  • Thread starter Thread starter Keri
  • Start date Start date
K

Keri

I want to deactivate a worksheets in Visual Basic...
Basiclly I want -- when the user clicks a button for two
worksheets to become inactive... I can't seem to find the
right code -- can anyone help??

Keri
 
do you mean hidden

Worksheets(Array("Sheet1","Sheet2")).Visible = xlHidden
 
Ok that works but how do you get it back?

-----Original Message-----
do you mean hidden

Worksheets(Array("Sheet1","Sheet2")).Visible = xlHidden

--
Regards,
Tom Ogilvy




.
 

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