I know how to close (Hide) a tab or multiple tabs by using either the "sheet" name or the sheet identifier. What I am wondering is if there is a way to close all open (unhidden) tabs with the exception of a specific tab or tabs?
For example, I can close a tab by being in that tab and using "ALT,O,H,H" or inside my vba "Activesheet.Visible=Hidden" or "Sheet20.Visible=Hidden"
What I am hoping to do is provide a macro that closes all unhidden tabs with the exception of three (2) tabs. Essentially resetting the workbook back to a starting point.
Any direction would be helpful.
For example, I can close a tab by being in that tab and using "ALT,O,H,H" or inside my vba "Activesheet.Visible=Hidden" or "Sheet20.Visible=Hidden"
What I am hoping to do is provide a macro that closes all unhidden tabs with the exception of three (2) tabs. Essentially resetting the workbook back to a starting point.
Any direction would be helpful.