Excel Shortcut

How do I change my settings, so that when I want to open a previous excel spreadsheet, the  tabs show 1 instead of y1?
Dwayne ArakawaAsked:
Who is Participating?
Roy CoxGroup Finance ManagerCommented:
Excel opens at the last sheet that is active when saved, you can add VBA to force the workbook to open at the first sheet.

I'm not sure whether Y and Y1 are sheet names. If that is correct then

Option Explicit

Private Sub Workbook_Open()
End Sub

Open in new window

from my web site
Add Excel VBA Code to a Workbook Module
This Excel VBA code is Workbook Event code, it should be added to the workbook code module:

Copy the Excel VBA code that you want to use
Select the workbook in which you want to store the code
Hold the Alt key, and press the F11 key, to open the Visual Basic Editor
In the Project Explorer, find your workbook, and open the list of Microsoft Excel Objects
Right-click on the ThisWorkbook object, and choose View Code
Where the cursor is flashing, choose Edit -> Paste
Copy Excel VBA Code From a Different Workbook
Roy CoxGroup Finance ManagerCommented:
Reason explained and code provided to use if required
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.