Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 318
Default Hide multiple worksheets

Hello If I select multiple sheets in a workbook then select hide it only
hides one worksheet , therefore I have to repeat the process several time .
Is thre an easier way ? thanks
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,101
Default Hide multiple worksheets

You can do it with a macro like the one below which goes through all the
worksheets in a workbook and asks if you want to hide it. Just one note you
cannot hide all worksheets in a workbook so if you try with this macro it
will throe an error.

Sub hideSheets()
Dim sSheetName As String
Dim sMessage As String
Dim Msgres As VbMsgBoxResult

For Each wsSheet In ActiveWorkbook.Worksheets
If wsSheet.Visible = True Then
sSheetName = wsSheet.Name
sMessage = "Hide the following sheet?" _
& vbNewLine & sSheetName
Msgres = MsgBox(sMessage, vbYesNo)
If Msgres = vbYes Then wsSheet.Visible = False
End If
Next wsSheet
End Sub

"Wanna Learn" wrote:

Hello If I select multiple sheets in a workbook then select hide it only
hides one worksheet , therefore I have to repeat the process several time .
Is thre an easier way ? thanks

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 663
Default Hide multiple worksheets

Hi;

Do the following:

1. Press CTRL and click on each Worksheet to group.
If you click on any selected sheet they will get deseleted. Selecting all
the sheets will form a group pf seleted sheets, for perfoming other task like
Hide, Unhide or renaming sheet. One way to find out whether you are able to
successfuly group your sheet , is to right-click the mouse button to view the
UnGroup Sheets option displayed in the popup menu.

2. On the Format menu, point to Sheet, and then click Unhide.

Important; When you want to unhide the worksheet, you will not be able to
unhide all the sheet at a time. You have unhide the sheets individually.
Therefore decide how many sheet you would prefer to be grouped before hinding
them.

Challa Prabhu

"Wanna Learn" wrote:

Hello If I select multiple sheets in a workbook then select hide it only
hides one worksheet , therefore I have to repeat the process several time .
Is thre an easier way ? thanks

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 663
Default Hide multiple worksheets

Sorry. for missing this important information.

Note: You cannot hide all the sheets in a Workbook. The following error
message will display if you attempt all the worksheet from the workbook:

"A workbook must contain at least one visible worksheet".

Challa Prabhu

"Wanna Learn" wrote:

Hello If I select multiple sheets in a workbook then select hide it only
hides one worksheet , therefore I have to repeat the process several time .
Is thre an easier way ? thanks

  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 10,124
Default Hide multiple worksheets

Hold the ctrl key while doing this. Then, formatsheethide.
Or use a macro

--
Don Guillett
SalesAid Software

"Wanna Learn" wrote in message
...
Hello If I select multiple sheets in a workbook then select hide it
only
hides one worksheet , therefore I have to repeat the process several time
.
Is thre an easier way ? thanks





Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Hide worksheets before close [email protected] New Users to Excel 2 April 26th 06 07:25 PM
Hide and PW protect multiple worksheets Pierrepan Excel Worksheet Functions 2 February 17th 06 03:03 AM
How to hide worksheets Man Utd New Users to Excel 3 October 20th 05 03:25 PM
Hide worksheets if macros are disable Eintsein_mc2 Excel Discussion (Misc queries) 2 September 17th 05 07:37 PM
is it possible to Hide certain worksheets from certain users? Admin Excel Discussion (Misc queries) 2 May 4th 05 09:15 PM


All times are GMT +1. The time now is 11:09 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"