Vba Hidden Sheet Select. Hide / Unhide Sheets in the VBA Editor. On the main sheet I have buttons to each of the other sheets.
Of course, unhiding and later hiding worksheets can cause a lot of flashing on the screen as Excel tries to update its screen display based on BUT as Rik says your macros/VBA code must NOT use the "Select" method for accessing a cell or range of cells.
And it doesn't use VBA, just the VBA Editor.
When working with Excel, you may find yourself in situations where you may need to hide or unhide certain rows or columns using VBA. In order to ensure that hidden sheets 'stay hidden', sheet visibility should be modified in Visual Basic Editor (VBE) using a. This will select all sheets between the two If you want to unhide all your hidden sheets, you will need to repeat the process for each sheet.