A Macro That Unhide and Going a Specific Sheet

Unexpc

Active Member
Joined
Nov 12, 2020
Messages
496
Office Version
  1. 2019
Platform
  1. Windows
Hi guys
There is a macro that Unhide multiple sheet and Going to specific one of them and then, when deselect one of them (select another sheet from this sheets) again hidden...
 
No. it only need to do at your one sheet ( start Sheet). and if you do correct, it worked correctly.
It always maintain visible start sheet and the sheet shows at combobox.
 
Upvote 0

Excel Facts

Whats the difference between CONCAT and CONCATENATE?
The newer CONCAT function can reference a range of cells. =CONCATENATE(A1,A2,A3,A4,A5) becomes =CONCAT(A1:A5)
I uploaded my file with 14 sheet with comboBox.
On Developer Tab go to Design Mode and Right click on ComboBox and go to Properties and do same for your comboBox
1. Change your combobox name to cmbsheet at Properties window
2. If you want Change font to what you want
Then Back Excel window and again Right click on ComboBox and go to View code
1. Select cmbsheet from first dropdown
2. Select change from second dropdown
3. copy from my sheet to your sheet
Back to Excel & deactivate design mode then
1. go to VBA window
2. Select first sheet (Sheet with ComboBox) and Right click on it and go to View code
3. copy code from my sheet to yours
4. save file as .xlsm and close your file
5. Reopen your file. you should see your sheet names at combobox

Macro Hiding Sheet with ComboBox
 
Upvote 0

Forum statistics

Threads
1,214,827
Messages
6,121,821
Members
449,049
Latest member
cybersurfer5000

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