Logo 
Search:

MS Office Answers

Ask Question   UnAnswered
Home » Forum » MS Office       RSS Feeds
  Question Asked By: Franklin Hall   on Jan 17 In MS Office Category.

  
Question Answered By: Kawakib Mansour   on Jan 17

Sorry, I didn't realise you were after code for it. That's simply how you
do it from the Excel menu.

This command button code hides Sheet2

Option Explicit

Private Sub CommandButton1_Click()
Worksheets("Sheet2").Visible = False
End Sub

Share: 

 

This Question has 5 more answer(s). View Complete Question Thread

 
Didn't find what you were looking for? Find more on How can I hide a single sheet from a workbook? Or get search suggestion and latest updates.


Tagged: