Create a new VBA general module for your workbook.
• Select your workbook
• ALT+F11...to open the VBA editor
• Insert.Module...to create a general module
Copy the below code and paste it into that module:
• Set the caption of each checkbox to be the name of the sheet to be displayed/hidden
• Assign the ShowHideSheet macro to each checkbox
Now, when a checkbox is clicked...
VBA will note the caption and
- if the checkbox is checked...the sheet will be made visible
- if the checkbox is unchecked...the sheet will be hidden
Is that something you can work with?
Bookmarks