Check box

bakerman

Board Regular
Joined
Sep 9, 2005
Messages
188
I have created six check box's on my first sheet named "ASK !" what i want to do is hide - unhide worksheets dependant on whether or not a check box is ticked. ie if check box 1 is ticked then sheet 2 and 3 would be visable and if check box 2 is ticked sheets 3 and 4 would be visable.
 

Excel Facts

Does the VLOOKUP table have to be sorted?
No! when you are using an exact match, the VLOOKUP table can be in any order. Best-selling items at the top is actually the best.
Have a play around with something like this

Application.ScreenUpdating = False

Sheets("Sheet3").Activate
ActiveSheet.Visible = False


You will need to create a macro and copy the above into it, then attach it to your checkbox.
 
Upvote 0
Not quite what i was looking for. I am trying to hide and unhide worksheets. The code you gave me only unhides a worksheet
 
Upvote 0
This is the code i have running, is it possible to change

Application.Run "'Copy of A Shift Holidays.xls'!Macro1"
Sheets("OP'S 06-07").Visible = True
Sheets("ASK !").Select
End Sub

Visible = true to
visible = cell v23
 
Upvote 0
Application.ScreenUpdating = False
If Range("a1").Value = "True" Then

Sheets("Sheet3").Activate
ActiveSheet.Visible = True
End If
If Range("a1").Value = "False" Then

Sheets("Sheet3").Activate
ActiveSheet.Visible = False
End If
 
Upvote 0

Forum statistics

Threads
1,214,667
Messages
6,120,814
Members
448,990
Latest member
rohitsomani

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top