×
英语
很抱歉。本文没有你的语言版本。

Hide or show worksheets or workbooks

You can hide any worksheet in a workbook to remove it from view. You can also hide the workbook window of a workbook to remove it from your workspace. The data in hidden worksheets and workbook windows is not visible, but it can still be referenced from other worksheets and workbooks. You can display hidden worksheets or workbook windows as needed.

By default, all workbook that you open are displayed on the taskbar, but you can hide or display them on the taskbar as needed.

Note: The screen shots in this article were taken in Excel 2016. If you have a different version your view might be slightly different, but unless otherwise noted, the functionality is the same.

What do you want to do?

Hide or unhide a worksheet

Hide or unhide a workbook window

Hide or unhide workbook windows on the Windows taskbar

Hide or unhide a worksheet

  1. Select the worksheets that you want to hide.

    How to select worksheets

    To select

    Do this

    A single sheet

    Click the sheet tab.

    Worksheet tabs at the bottom of the Excel window

    If you don't see the tab that you want, click the scrolling buttons to the left of the sheet tabs to display the tab, and then click the tab.

    Two or more adjacent sheets

    Click the tab for the first sheet. Then hold down Shift while you click the tab for the last sheet that you want to select.

    Two or more nonadjacent sheets

    Click the tab for the first sheet. Then hold down Ctrl while you click the tabs of the other sheets that you want to select.

    All sheets in a workbook

    Right-click a sheet tab, and then click Select All Sheets on the shortcut menu.

    Tip    When multiple worksheets are selected, [Group] appears in the title bar at the top of the worksheet. To cancel a selection of multiple worksheets in a workbook, click any unselected worksheet. If no unselected sheet is visible, right-click the tab of a selected sheet, and then click Ungroup Sheets on the shortcut menu.

  2. On the Home tab, in the Cells group, click Format > Visibility > Hide & Unhide > Hide Sheet.

    Hid or unhide worksheets from Home > Cells > Format > VIsibility > Hide & Unhide

  3. To unhide a worksheet, follow the same steps, but select Unhide. You'll be presented with a dialog box listing which sheets are hidden, so select the one you want to unhide.

    Unhide sheets dialog

Notes: 

  • When you unhide a worksheet, you can only do so one at a time unless you use Visual Basic for Applications (VBA) code..

  • If worksheets are hidden by VBA code that assigns the property xlSheetVeryHidden, the Unhide command will not display those hidden sheets. If you are using a workbook that contains VBA code and you encounter problems with hidden worksheets, contact the workbook owner for more information.

Top of Page

Hide or unhide a workbook window

  • On the View tab, in the Window group, click Hide or Unhide.

    On a Mac, this is under the Window menu in the file menu above the ribbon.

    Hide or show a workbook from View > Windows > Hide/Unhide

Notes: 

  • When you Unhide a worksheet, you can only do so one at a time, so select from the list of hidden sheets in the unhide dialog box.

    Unhide windows dialog

  • If Unhide is unavailable, the workbook does not contain hidden workbook windows.

  • When you exit Excel, you will be asked if you want to save changes to the hidden workbook window. Click Yes if you want the workbook window to be hidden the next time that you open the workbook.

Top of Page

Hide or display workbook windows on the Windows taskbar

Excel 2013 introduced the Single Document Interface, where each workbook opens in its own window. The following steps only apply to Excel 2007 and 2010 for Windows.

  1. For Excel 2010, go to File > Options.

    For Excel 2007, click the Microsoft Office Button Office button image , then Excel Options.

  2. Then click Advanced > Display > clear or select the Show all windows in the Taskbar check box.

Top of Page

Need more help?

You can always ask an expert in the Excel Tech Community, get support in the Answers community, or suggest a new feature or improvement on Excel User Voice.

See Also

Hide or show rows or columns

扩展你的 Office 技能
了解培训
抢先获得新功能
加入 Office 预览体验计划

此信息是否有帮助?

谢谢您的反馈!

谢谢你的反馈! 可能需要转接到 Office 支持专员。

×