RunRabbit13
New Member
- Joined
- Aug 29, 2014
- Messages
- 12
I am trying to create a button on the ribbon that will allow the user to hide only sheets not selected. For example, if I have workbook with [Sheet1, Sheet2, Sheet3, Sheet4] and the user has selected [Sheet1 & Sheet3] then [Sheet2 & Sheet4] would hide. I have the VBA to hide all (except the active sheet) and VBA to unhide all. I want this to be dynamic so the user can use it across multiple workbooks with different nomenclature for the sheets. Any help is greatly appreciated.