View Single Post
  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
pshepard[_2_] pshepard[_2_] is offline
external usenet poster
 
Posts: 55
Default Hide a worksheet

Hi Mac,

The following macro works for me

Private Sub CheckBox3_Click()
Application.DisplayAlerts = False
Sheets("Checklist").Delete
Sheets("Agenda").Delete
Sheets("Comparison").Delete
Sheets("Information").Visible = False
End Sub
--
If this post helps click Yes
---------------
Peggy Shepard


"mac" wrote:

Hello,
I have a macro that works great. It works on check box and deletes the sheet
I do not need. However, I have one worksheet that I do not want to delete, I
would like to hide it. An example is:

Private Sub CheckBox3_Click()
Application.DisplayAlerts = False
Sheets("Checklist").Delete
Sheets("Agenda").Delete
Sheets("Comparison").Delete

The sheet I want to hide is:
Sheets("Information").Visible = False

Could you tell me what I am doing wrong?

Any help is appreciated.

Thank you




--
thank you mac