DixiePiper
New Member
- Joined
- Oct 19, 2015
- Messages
- 41
- Office Version
- 365
- Platform
- Windows
I am using a "Workbook_BeforeClose" operation to hide all worksheets except one. This is working fine for now but as I move through the process, I want to be able to change which sheets are visible. Within the application, I have a login in function to control visibility but when the workbook closes, I want to reset the visible sheets. Controlling visibility reduces visual clutter and focuses the user on what needs to happen at the current stage of the project. Here is where I start to get lost . . .
I have an Admin page that holds "behind the curtain" data and I've managed an ActiveX ListBox that holds the sheet names that might need to be visible when the workbook opens. I'd like to be able to select the sheets and have the "Workbook_BeforeClose" macro use that selection to determine which sheets should be visible/very hidden before the workbook shuts down.
Thanks in advance.
I have an Admin page that holds "behind the curtain" data and I've managed an ActiveX ListBox that holds the sheet names that might need to be visible when the workbook opens. I'd like to be able to select the sheets and have the "Workbook_BeforeClose" macro use that selection to determine which sheets should be visible/very hidden before the workbook shuts down.
Thanks in advance.