Skip to main content

How to open specific worksheet in a workbook?

Author: Xiaoyang Last Modified: 2020-05-08

By default, Excel will remember your last modified worksheet as you exit your Excel program every time, and when you open your workbook next time, this sheet will be displayed first. Supposing you have a large workbook with hundreds of worksheets, is it possible for you to locate a specific frequently used worksheet every time when you launch the Excel file?

With the help of following simple VBA code, it will automatically go to the specific worksheet you defined no matter what worksheet was operated and saved last time.

Open specific worksheet in a workbook with VBA code

Auto open specific workbook when enable Excel with Kutools for Excel good idea3

Add workbooks to a Favorites folder with Office Tab good idea3


Open specific worksheet in a workbook with VBA code

Please follow the below steps to finish this task:

1. Open your workbook that you want to use.

2. Hold down the ALT + F11 keys to open the Microsoft Visual Basic for Applications window.

3. In the left pane, select the workbook name that you want to use (if the left pane is hidden, click View > Project Explorer to show it), then double click This Workbook to open the Module, and then copy and paste the following VBA code in the right pane. See screenshot:

Private Sub Workbook_Open() 
Worksheets("Mastersheet").Activate
End Sub

doc-open-specific-sheet1

Note: In the above code, "Mastersheet" is the name of worksheet needed to launch when you open the workbook each time, you can change it to your own needed.

4. Close the VBA Editor, and save the workbook as Excel Macro-Enabled Workbook as following screenshot shown:

doc-open-specific-sheet1

Now when you open your workbook next time, click Enable Content, and it will go to your specific worksheet at once. This warning will not displayed in the later process of opening, and your specific worksheet will always be opened firstly every time.

doc-open-specific-sheet1


Auto open specific workbook when enable Excel with Kutools for Excel

If you need to use one workbook every day, you can choose to auto open this worksheet while enabling Excel in every time by Kutools for Excel.

If you installed Kutools for Excel, just need to add the workbook to the Auto Open Those Worksheets Next Time list, then when you open Excel every time, the workbook is opened at the same time.:

Kutools for Excel, with more than 300 handy functions, makes your jobs more easier. 

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

1. Open the workbook you use, and click Kutools Plus> Workbook > Auto Open Those Workbooks Next Time. see screenshot:

doc kte 1

2. In the popping dialog, check the workbook and click Ok. Then while you enable Excel, the workbook is opened.

doc kte 2

Tip: If you do not need to open it next time, uncheck the workbook in the dialog, if you do not need to open it automatically any more, select it ad click Clear to remove it from the list of dialog.

Click here to know more about Auto Open Those Workbooks Next Time.


Add workbooks to a Favorites folder with Office Tab

If you just want to click find some specific workbooks and open it when you need, you can free installed Office Tab and add the workbooks into Favorites folder.

After free installed Office Tab, just do as below:

Open the workbooks you need to add to Favorites, and click Office Tab > My Favorites > Add All to this group. See screenshot:

doc ot 1

Now all workbooks are added into Favorites folder, and click Office Tab > My Favorites  down arrow to select workbook to open if you need, and if you want to open all of these, click Open this group.

doc ot 2

Click here to free download Office Tab and have a 30 days free trial.

Best Office Productivity Tools

🤖 Kutools AI Aide: Revolutionize data analysis based on: Intelligent Execution   |  Generate Code  |  Create Custom Formulas  |  Analyze Data and Generate Charts  |  Invoke Kutools Functions
Popular Features: Find, Highlight or Identify Duplicates   |  Delete Blank Rows   |  Combine Columns or Cells without Losing Data   |   Round without Formula ...
Super Lookup: Multiple Criteria VLookup    Multiple Value VLookup  |   VLookup Across Multiple Sheets   |   Fuzzy Lookup ....
Advanced Drop-down List: Quickly Create Drop Down List   |  Dependent Drop Down List   |  Multi-select Drop Down List ....
Column Manager: Add a Specific Number of Columns  |  Move Columns  |  Toggle Visibility Status of Hidden Columns  |  Compare Ranges & Columns ...
Featured Features: Grid Focus   |  Design View   |   Big Formula Bar    Workbook & Sheet Manager   |  Resource Library (Auto Text)   |  Date Picker   |  Combine Worksheets   |  Encrypt/Decrypt Cells    Send Emails by List   |  Super Filter   |   Special Filter (filter bold/italic/strikethrough...) ...
Top 15 Toolsets12 Text Tools (Add Text, Remove Characters, ...)   |   50+ Chart Types (Gantt Chart, ...)   |   40+ Practical Formulas (Calculate age based on birthday, ...)   |   19 Insertion Tools (Insert QR Code, Insert Picture from Path, ...)   |   12 Conversion Tools (Numbers to Words, Currency Conversion, ...)   |   7 Merge & Split Tools (Advanced Combine Rows, Split Cells, ...)   |   ... and more

Supercharge Your Excel Skills with Kutools for Excel, and Experience Efficiency Like Never Before. Kutools for Excel Offers Over 300 Advanced Features to Boost Productivity and Save Time.  Click Here to Get The Feature You Need The Most...

Description


Office Tab Brings Tabbed interface to Office, and 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!
Comments (0)
No ratings yet. Be the first to rate!
There are no comments posted here yet
Leave your comments
Posting as Guest
×
Rate this post:
0   Characters
Suggested Locations