[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now


Single-step keyboard shortcut to move to the 1st worksheet tab in Excel

Posted on 2014-08-26
Medium Priority
Last Modified: 2014-09-20

When using multiple worksheets (tabs) in an Excel workbook, the only tab navigation shortcuts I'm aware of are the following:

      Ctrl+PgUp  =  move one tab to the left
      Ctrl+PgDn  =  move one tab to the right

Is there a similar keyboard shortcut which, regardless of which tab is active, will move you to the "Home" or furthest left sheet tab?

If that shortcut does not already exist, does anyone know of a good workaround or — if it's not too lengthy — could someone provide me with VBA code to which I could attach a macro hotkey?

Question by:WeThotUWasAToad
  • 2
  • 2
LVL 28

Accepted Solution

MacroShadow earned 1600 total points
ID: 40287168
Create a macro with this line of code and assign to it whichever shortcut you want:

Open in new window

LVL 34

Assisted Solution

by:Rob Henson
Rob Henson earned 400 total points
ID: 40287604
Alternatively without use of VBA.

Create a named range on the first sheet with a range name such that it will appear early in an alphabetical list, eg A_1

You can then press F5 to bring up the list of Named Ranges, select the Named Range and click OK.

Rob H

Author Comment

ID: 40294044
Thanks for the responses.

Rob, your solution would seem to require three keystrokes (F5 > select > OK), whereas the solution from MacroShadow (once it is added as code) would seem to require only one (the designated hotkey). Aside from not requiring the "use of VBA", are there any other benefits I'm missing?
LVL 34

Expert Comment

by:Rob Henson
ID: 40294224
One benefit of not using VBA is that you maintain the Undo history.  When a macro runs you lose the history.

Another option with VBA would be still to have the named range and then use this line:

Application.Goto Reference "RangeName"


Author Closing Comment

ID: 40334919
Thanks for the responses and apologies for the delayed response.

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article will guide you to convert a grid from a picture into Excel format using Microsoft OneNote and no other 3rd party application.
This code takes an Excel list of URL’s and adds a header titled “URL List”. It then searches through all URL’s in column “A”, looking for duplicates. When a duplicate is found, it is moved to the top of the list. The duplicate URL’s are then highlig…
This Micro Tutorial will demonstrate the scrolling table in Microsoft Excel using the INDEX function.
This Micro Tutorial will demonstrate how to use a scrolling table in Microsoft Excel using the INDEX function.

873 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question