How to choose from multiple tabs

oooHAARRooo

New Member
Joined
Jun 6, 2012
Messages
1
I have a question to ask some of the brilliant minds in here :)

I have a large Excel document with a lot of tabs (inserted spreadsheets).

I would like to make a front page were the user have a choice of 4 buttons.

If you press one of the buttons, only some of the tabs should be visible. If you press one of the other button other pages should be visible. When I say visble I mean that the pages that are interesting for one button should show on the tabs menu the others should be hidden !
 

Excel Facts

Select a hidden cell
Somehide hide payroll data in column G? Press F5. Type G1. Enter. Look in formula bar while you arrow down through G.
Hi and welcome to the Board
After you have created the buttons, you can simply record the macro to slect which sheets to hide.
Then, right click on the button and assign the appropriate macro.
Here's a sample of recorded code to hide for example Sheets 2 & 3

Code:
Sub Macro1()
Sheets(Array("Sheet2", "Sheet3")).Select
    ActiveWindow.SelectedSheets.Visible = False
End Sub
 
Upvote 0

Forum statistics

Threads
1,203,138
Messages
6,053,717
Members
444,681
Latest member
Nadzri Hassan

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