Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
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
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
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
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
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
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
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
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
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 |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Hide worksheets before close | New Users to Excel | |||
Hide and PW protect multiple worksheets | Excel Worksheet Functions | |||
How to hide worksheets | New Users to Excel | |||
Hide worksheets if macros are disable | Excel Discussion (Misc queries) | |||
is it possible to Hide certain worksheets from certain users? | Excel Discussion (Misc queries) |