ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Unhide multiple worksheets in workbook (https://www.excelbanter.com/excel-discussion-misc-queries/254572-unhide-multiple-worksheets-workbook.html)

Maureen D.

Unhide multiple worksheets in workbook
 
Hi...I have Excel 2003. Is there a way to unhide multiple worksheets in a
workbook vs. unhiding one at a time?

Don Guillett[_2_]

Unhide multiple worksheets in workbook
 
a looping macro

--
Don Guillett
Microsoft MVP Excel
SalesAid Software

"Maureen D." wrote in message
...
Hi...I have Excel 2003. Is there a way to unhide multiple worksheets in a
workbook vs. unhiding one at a time?



Gord Dibben

Unhide multiple worksheets in workbook
 
Sub unhide()
Dim ws As Worksheet
For Each ws In ActiveWorkbook.Worksheets
If ws.Visible = xlHidden Then ws.Visible = xlSheetVisible
Next ws
End Sub


Gord Dibben MS Excel MVP

On Wed, 27 Jan 2010 09:13:01 -0800, Maureen D.
wrote:

Hi...I have Excel 2003. Is there a way to unhide multiple worksheets in a
workbook vs. unhiding one at a time?




All times are GMT +1. The time now is 04:07 PM.

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