Tip: Other languages are Google-Translated. You can visit the English version of this link.
Log in


How to quickly show active or selected sheets only in Excel?

If there are multiple sheets in your working workbook, and now you just want to show only the active or selected sheets and hide other sheets, how can you quickly handle it without hiding them one by one manually?

Show active sheet only with VBA

Show selected sheet(s) only with Kutools for Excel good idea3

good idea4Split Workbook

Kutools for Excel's Split Workbok help you split all sheets from a workbook and save them as
separate workbooks, texts, csv files or pdf files.
doc split workbook

Enable you to do smarter, faster and better

Kutools - the best office productivity tool brings 300 advanced features to Excel. Details... Download...

Office Tab - brings tabbed interface to Excel and Word, make your work much easier. Details...Download...

arrow blue right bubble Show active sheet only with VBA

Here is a VBA code can quickly hide all sheets except the active one.

1. Press Alt + F11 keys to display Microsoft Visual Basic for Applications window.

2. Then click Insert > Module and paste below VBA to the new Module window.

VBA: Show active sheet only

Sub Macro1()
    Dim xSht As Object
    For Each xSht In ThisWorkbook.Sheets
        If xSht.Name <> ThisWorkbook.ActiveSheet.Name Then xSht.Visible = False
End Sub

3. Click Run button or press F5 key to execute VBA And now only active sheet are shown, others are hidden.

arrow blue right bubble Show selected sheet(s) only with Kutools for Excel

If you have Kutools for Excel installed, you can quickly hide inactive sheets or unselected sheets with once click.

Kutools for Excel, with more than 120 handy Excel functions, enhance your working efficiency and save your working time.

After free installing Kutools for Excel, please do as below:

Active a sheet or select sheets you want to show, then click Kutools > Show/Hide > Hide Unselected Sheets. See screenshot:
doc show active sheet only 1

Now the unselected sheets are hidden.

Tip: If you want to show all sheets, you can click Kutools > Show/Hide > Unhide All Sheets. See screenshot:
doc show active sheet only 2

pay attention1If you are interested in this addi-in, download the 60-days free trial.

Excel Productivity Tools

Kutools for Excel - The Best Office Productivity Tool

  • Brings 300 powerful advanced features to Excel, enable you to do smarter, faster and better.
  • No longer need memorizing formulas and VBA codes, give your brain a rest from now on.
  • Become an Excel expert in 3 minutes, Complicated and repeated operations can be done in seconds, 
  • Reduce thousands of keyboard & mouse operations every day, say goodbye to occupational diseases now.
  • 110,000 highly effective people and 300+ world-renowned companies' choice.
  • 60-day full features free trial. 60-day money back guarantees. 2 years of free upgrade and support.

Office Tab - brings tabbed interface to Office, make your work much easier.

  • Enable tabbed editing and reading in Word, Excel, PowerPoint, Publisher, Access, Visio and Project.
  • Open and create multiple documents in new tabs of the same window, rather than in new windows.
  • Increases your productivity by 50%, and reduces hundreds of mouse clicks for you every day!
Say something here...
symbols left.
You are guest ( Sign Up? )
or post as a guest, but your post won't be published automatically.
Loading comment... The comment will be refreshed after 00:00.

Be the first to comment.