ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   how to unhide several sheets at one time ? (https://www.excelbanter.com/excel-discussion-misc-queries/198782-how-unhide-several-sheets-one-time.html)

Peggy

how to unhide several sheets at one time ?
 


Peo Sjoblom

how to unhide several sheets at one time ?
 
You can't using anything built in, only was is to use VBA code


--


Regards,


Peo Sjoblom



"Peggy" wrote in message
...




Joerg Mochikun

how to unhide several sheets at one time ?
 
Maybe with a short macro:

Sub UnhideSheets()
If ActiveWorkbook.ProtectStructure = True Then
MsgBox "Unable to unhide sheets. Workbook is protected",
vbExclamation
Else
For Each ws In Sheets
ws.Visible = True
Next
End If
End Sub

"Peo Sjoblom" wrote in message
...
You can't using anything built in, only was is to use VBA code


--


Regards,


Peo Sjoblom



"Peggy" wrote in message
...







All times are GMT +1. The time now is 05:57 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com