How to Go Back To Hyperlink in Excel

Learn multiple Excel methods to go back to hyperlink with step-by-step examples and practical applications.

excelformulaspreadsheettutorial
14 min read • Last updated: 7/2/2025

How to Go Back To Hyperlink in Excel

Why This Task Matters in Excel

Navigating through hyperlinks is now a core part of many modern spreadsheets. Financial analysts maintain navigation dashboards that let executives jump from a summary sheet to deep-dive worksheets with one click. Project managers build issue logs where every ticket number is hyperlinked to its detailed record somewhere else in the workbook. HR departments often store employee information on one sheet and embed hyperlinks that jump directly to policy documents stored on a shared drive. In each of these situations, users need a quick, reliable way to return to the original location after following a hyperlink.

Without the ability to “go back” efficiently, users can become disoriented in large workbooks that contain dozens of tabs and thousands of cells. Re-finding the starting point wastes time, especially when the hyperlink takes the user several worksheets away. Worse, broken navigation disrupts decision-making: instead of focusing on the numbers, participants focus on finding their way around. The issue is magnified when spreadsheets are shared during live meetings where every second of screen-sharing counts. Having a smooth “back” capability keeps the flow going, preserves context, and boosts credibility.

Excel actually provides more than one mechanism to jump back. There is a built-in keyboard shortcut (Alt + Left Arrow) that behaves much like a web browser’s Back button. For power users, a one-line VBA procedure using Application.GoBack can be attached to a custom ribbon icon, a Quick Access Toolbar (QAT) button, or a shape on the worksheet; that extends the back feature to point-and-click users who may never remember a shortcut. Power Query and modern dynamic arrays have not changed this need—whenever users still employ clickable links (e.g., via the HYPERLINK function or Insert → Link), the problem remains relevant.

In short, mastering the techniques to return to the previous cell or sheet after clicking a hyperlink is critical. It improves usability, increases productivity, and allows you to design highly navigable workbooks that feel like professional applications rather than sprawling static files.

Best Excel Approach

The single fastest method is the native keyboard shortcut:

  • Alt + Left Arrow – Jump back to the last cell or sheet that had focus before the most recent hyperlink or Go To operation.
  • Alt + Right Arrow – Move forward again if you stepped back by accident.

Because this capability is built into every version of Excel for Windows and even Excel for the web (with minor differences), it requires no additional setup and works out-of-the-box across workbooks, worksheets, and even when the hyperlink points to external files that later return to the workbook.

However, relying solely on keyboard memory may not suit all audiences. When the file will be distributed to executives or clients, adding a visible button is safer. For that scenario, you can implement a tiny VBA macro that wraps the same built-in command:

Sub GoBackOnce()
    Application.GoBack
End Sub

Assign the macro to a shape, picture, or custom ribbon/QAT icon. Users can now click a large “Back” arrow without touching the keyboard.

If your environment does not allow macros, the best alternative is to add the Go Back command to the Quick Access Toolbar. This still leverages Excel’s native navigation stack but without VBA. The QAT icon is always visible in the title bar, so users only need one click.

Choosing among these methods depends on audience capabilities and corporate security policies:

  • Power users with keyboards — Shortcut only
  • General users, macros allowed — VBA + shape/QAT
  • Macros blocked — Add built-in command to QAT

All three share the same underlying engine: the navigation history Excel keeps whenever you follow a hyperlink or press F5 (Go To). This history acts like a stack, so the last location recorded is the first to be returned to when you invoke “Go Back.”

Parameters and Inputs

Although “Go Back” is conceptually simple, it still relies on several implicit inputs:

  1. Navigation History Stack
    Excel stores a list of addresses you have visited during the current session, including worksheet names, cell addresses, and even other open workbooks. If the stack is empty (for example, you just opened the file and clicked nothing), Application.GoBack does nothing.

  2. Active Workbook
    The command operates at the application level but always directs you back inside the workbook that owns the previous entry. If you followed a hyperlink to another workbook, the stack entry includes the external workbook path. Going back will reopen that file if necessary.

  3. Macro Security Level (for VBA Approach)
    To run Application.GoBack, macros must be enabled. If security is high and unsigned macros are blocked, the code will not execute. Users will then need the keyboard or QAT method.

  4. Worksheet Protection
    Locked or protected sheets can interfere only if the destination cell you are returning to is locked. The back command will still navigate, but further edits may be prevented.

  5. Hyperlink Types
    Both the Insert → Link dialog and the HYPERLINK function add to the navigation stack. Links that open external URLs in a browser do not. Therefore, “Go Back” only references in-Excel jumps, not web pages.

Edge cases include pressing Alt + Left Arrow repeatedly: Excel keeps going back through the stack until it can no longer find entries, at which point it simply stops without error. Similarly, if a user deletes a sheet that still has an entry in the history, invoking “Go Back” to that point throws “Reference Is Not Valid.” Proper error handling in VBA is therefore advisable in production macros.

Step-by-Step Examples

Example 1: Basic Scenario

Imagine a workbook with two sheets: [Summary] and [Details]. On [Summary], cell B3 contains a hyperlink to cell A2 on [Details]. You want to investigate the detailed data, then instantly return.

  1. Set Up the Data

    • In [Summary]!B3, insert a hyperlink:
      =HYPERLINK("#'Details'!A2","Jump to detail")
    • Fill [Details]!A2 with any sample text such as “Sales breakdown.”
  2. Follow the Link
    Click the link in [Summary]!B3. Excel transfers focus to [Details]!A2.

  3. Return Automatically
    Press Alt + Left Arrow once: you are back at [Summary]!B3.
    Press Alt + Right Arrow to move forward again to [Details]!A2.

Why it works: Clicking the link pushes [Details]!A2 onto Excel’s navigation stack. The shortcut pops that entry, taking you back to the previous address. If you continue pressing Alt + Left Arrow, Excel will keep stepping back through earlier navigations such as the cell you edited before clicking the link.

Troubleshooting:

  • If nothing happens, confirm Num Lock is not interfering with the arrow keys on some laptops.
  • On Excel for Mac, the equivalent shortcut is Command + [ (left bracket).

Common variation: Many users store a Table of Contents sheet that links to various tabs. The above procedure works precisely the same; each jump to a target sheet is recorded, and Alt + Left Arrow always brings you back to the TOC.

Example 2: Real-World Application

A sales dashboard workbook contains ten region-specific worksheets plus a “Home” sheet that acts as a control panel. Each regional sheet has a “Back to Home” button at the top-left corner for mouse-centric managers.

  1. Insert a Shape

    • On the [North] sheet, choose Insert → Shapes → Block Arrow: Left.
    • Resize and format the arrow with a recognizable color.
    • Right-click the shape → Assign Macro.
  2. Create the Macro
    Press Alt + F11 → Insert → Module → paste:

Sub NavigateBack()
    On Error Resume Next
    Application.GoBack
End Sub

The one-line macro is wrapped in basic error handling so that if the history is empty, nothing happens rather than triggering a runtime error.

  1. Attach and Copy
    After assigning the macro to the arrow, copy the shape to the other nine region sheets. Optionally lock the arrow’s position by setting its properties to “Move but don’t size with cells.”

  2. Workflow
    On the Home sheet, the sales director clicks a hyperlink to [North]!C4. After reviewing numbers, she clicks the arrow shape and immediately returns to the Home sheet. She repeats the process for [West], [South], and so forth. No one remembers any shortcuts, yet navigation remains intuitive.

Integration with other features: The macro can coexist with slicers, pivot charts, and dynamic dashboards because it simply changes active selection; it does not manipulate data. If the workbook launches UserForms or Power Query refreshes, the navigation stack still behaves predictably as long as those actions do not forcibly activate another workbook.

Performance consideration: Application.GoBack is instantaneous, taking negligible time even in workbooks exceeding 50 MB. The overhead lies only in opening external workbooks if the stack entry points there.

Example 3: Advanced Technique

Suppose you need multi-level navigation, not just a single step back. Your users may jump through five or six sheets in a row and then want to return to the exact starting point in one click. You can capture the navigation stack yourself and build a custom back-stack interface.

  1. Build the Stack Class
    In the VBA editor, insert a class module named cNavStack:
Option Explicit
Private mStack As Collection

Private Sub Class_Initialize()
    Set mStack = New Collection
End Sub

Public Sub Push(addr As String)
    mStack.Add addr
End Sub

Public Function Pop() As String
    If mStack.Count = 0 Then Exit Function
    Pop = mStack(mStack.Count)
    mStack.Remove mStack.Count
End Function

Public Property Get Count() As Long
    Count = mStack.Count
End Property
  1. Global Stack Variable
    In a regular module, declare:
Public gNav As cNavStack
  1. Add Navigation Tracking
    Create a procedure that listens to the Workbook_SheetFollowHyperlink event:
Private Sub Workbook_SheetFollowHyperlink(ByVal Sh As Object, ByVal Target As Hyperlink)
    If gNav Is Nothing Then Set gNav = New cNavStack
    gNav.Push ActiveCell.Address(, , , True) 'push full reference
End Sub

This records each source address when a hyperlink is followed.

  1. Multi-Step Back Button
Sub BackToOrigin()
    If gNav Is Nothing Then Exit Sub
    Dim origin As String
    origin = gNav.Pop
    If origin <> vbNullString Then
        Application.Goto Reference:=origin, Scroll:=True
    End If
End Sub

Attach this macro to a ribbon button or shape. When clicked, it transports the user back through every recorded link in reverse order, not just one step.

Professional tips:

  • Clear the stack in Workbook_Open to start fresh each session.
  • Serialize the stack to a hidden worksheet if you need persistent navigation across sessions.
  • Combine with a Forward stack for full browser-style navigation.

Error handling: Attempting to Goto a deleted sheet will raise error 1004; trap this and iterate to the next available address, or alert the user.

When to use: Multi-level back is perfect for complex workbooks that mimic web applications or when Excel is deployed as a front end to databases and users drill down several layers deep.

Tips and Best Practices

  1. Pin the Command to QAT
    Add Go Back and Go Forward to the Quick Access Toolbar so they are always one click away, even if macros are disabled.

  2. Use Descriptive Hyperlink Text
    Display clear labels like “Go to Jan Report” rather than generic “Click here.” Clarity reduces accidental clicks and thus unnecessary back steps.

  3. Color-Code Navigation Buttons
    Use consistent colors or icons for “Back” across all sheets; visual cues matter more than you think.

  4. Protect Navigation Shapes
    Lock back buttons so wandering cell edits do not resize or delete them. Set “Locked” and protect the sheet, allowing shape selection.

  5. Reset History During Refresh Macros
    Large automation routines (e.g., Power Query refresh, data imports) may unintentionally pollute the navigation history. Use Application.CutCopyMode = False or explicitly clear the stack in code if your workflow needs a clean slate.

  6. Document Shortcuts in Help Sheet
    Provide a small “How to navigate” section within the workbook. New users discover Alt + Left Arrow sooner, reducing support calls.

Common Mistakes to Avoid

  1. Assuming Macros Work Everywhere
    Sending a macro-enabled workbook (.xlsm) to clients whose IT blocks macros will break the back button. Always provide a keyboard or QAT alternative.

  2. Forgetting External Links
    If a hyperlink points to an external file that users may not have, Application.GoBack could reopen the file mid-presentation. Validate that external paths exist or limit links to internal ranges.

  3. Deleting Source Sheets
    Designers sometimes delete temporary sheets after creating links. Later, the back stack contains invalid addresses, producing “Reference Is Not Valid.” Audit sheets before release.

  4. Overlapping Shapes
    Placing the “Back” shape on top of slicers or charts might capture unintended clicks, or become hidden behind objects after users resize the window. Keep navigation shapes in a dedicated corner.

  5. Ignoring Mac Shortcuts
    Excel for Mac users cannot use Alt + Left Arrow. Provide Command + [ documentation or install a macro binding for them.

Alternative Methods

MethodRequires VBAVisible ButtonWorks with Macros DisabledMulti-Step HistoryDifficulty
Alt + Left ArrowNoNoYesYesVery easy
QAT Go Back IconNoYes (icon)YesYesEasy
Shape + Application.GoBackYesYesNoYesEasy
Custom Stack VBAYesYesNoInfiniteIntermediate
Hyperlink Back LinkNoYes (cell link)YesOnly one levelEasy

Detailed comparison:

  • Alt + Left Arrow – Fastest but hidden from mouse-only users.
  • QAT Icon – Great for highly secured environments; no code yet visible.
  • Shape + Macro – Most intuitive; single-click for all audiences where macros are OK.
  • Custom Stack VBA – Browser-style navigation for complex drill-downs; costs more development time.
  • Hyperlink Back Link – Simply place another hyperlink pointing to the origin. Works in protected environments but clutters sheets and usually only handles one level.

Migration strategies: Start with the shortcut during development. When the workbook is finalized, decide if macros will be allowed. If yes, implement a shape + macro; if no, position a QAT instruction banner at the top of the TOC.

FAQ

When should I use this approach?

Use the built-in “Go Back” whenever your model relies heavily on hyperlinks for drill-down or reference look-ups. It shines in dashboards, Table of Contents pages, and any workbook where users hop around more than they type.

Can this work across multiple sheets?

Yes. The history stack records sheet names as fully qualified references. Pressing Alt + Left Arrow or running Application.GoBack jumps across sheets, workbooks, and even back to the originating cell in a different file, provided that file is still accessible.

What are the limitations?

The back stack is session-specific and capped at 100 entries. Closing Excel wipes the history. Also, links that launch external URLs are not recorded. In macro environments, security settings may block the VBA procedure.

How do I handle errors?

Wrap the macro in On Error Resume Next to avoid runtime errors when the destination no longer exists. For production, log such failures to a hidden sheet so you can audit broken links later.

Does this work in older Excel versions?

Application.GoBack exists at least as far back as Excel 2000. The keyboard shortcut has identical behavior. The QAT command is available from Excel 2007 onward. Therefore, virtually all supported versions can employ at least one of these tactics.

What about performance with large datasets?

“Go Back” manipulates only the selection pointer, not the dataset itself. Performance is therefore identical whether the workbook is 50 rows or 5 million rows. Any delay would come from reopening an external workbook if that path is part of the stack.

Conclusion

Mastering the skill of moving back to the previous location after following a hyperlink transforms sprawling spreadsheets into smooth, app-like experiences. Whether you stick with the lightning-fast Alt + Left Arrow shortcut, add a prominent QAT icon, or build a user-friendly VBA button, you empower every stakeholder to move fluidly through data without losing context. That proficiency not only enhances immediate productivity but also lays the groundwork for more sophisticated navigation designs you will build in future models. Explore the techniques above, pick the one that fits your environment, and watch your workbooks become as easy to use as any modern website.

We use tracking cookies to understand how you use the product and help us improve it. Please accept cookies to help us improve.