How to Go To Previous Workbook in Excel

Learn multiple Excel methods to go to the previously active workbook with step-by-step examples, keyboard shortcuts, VBA automation, and practical business applications.

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

How to Go To Previous Workbook in Excel

Why This Task Matters in Excel

Switching quickly between open workbooks sounds trivial, yet it has a surprisingly big impact on productivity. In a typical finance, analytics, or operations role you almost never work in a single file. A revenue model pulls raw data from one workbook, a cost schedule sits in another, and your final presentation deck references both. Jumping back and forth by reaching for the mouse, searching the Windows taskbar, or scrolling through the Mac Window menu breaks concentration and costs real time. According to multiple usability studies, even a one-second interruption can double the chance of introducing an error in repetitive tasks. When your day involves hundreds of worksheet edits, that latency can easily total fifteen to twenty minutes of wasted time.

Knowing how to “Go To Previous Workbook” is the digital equivalent of flipping to the previous sheet of paper on your desk without thinking. Analysts reconciling monthly trial balances, supply chain managers comparing forecasts, and sales teams adjusting quotes all need to verify numbers between companion files throughout the day. A fast switch preserves context: you remember exactly which cell you were staring at, what assumptions you were checking, and why you needed the other file. When you do not know an efficient method, you are forced to alt-tab through every open application or dig through a stack of fifty tiny file thumbnails, increasing cognitive load and the risk of selecting the wrong workbook.

The concept is also foundational for more advanced workflows. Power users who write VBA macros, record Power Automate scripts, or build Power Query transformations often rely on the currently active window. If you cannot predictably hop back to the workbook that owned your last action, your macro may update the wrong file or your query may refresh data you did not intend to touch. Mastery of quick-switch navigation, therefore, sits at the intersection of user interface skills, error prevention, and workflow automation.

Finally, understanding the different methods exposes you to important Excel features. The same keyboard sequence that cycles workbooks can be repurposed to cycle windows inside other Office apps; the View tab’s Switch Windows button demonstrates Ribbon customization principles; and a VBA implementation teaches how to tap into the Windows collection object. Not learning these techniques leaves efficiency on the table and slows your progression to more advanced Excel competencies.

Best Excel Approach

The fastest and most universally reliable way to return to the previously active workbook is the built-in keyboard shortcut:

  • Windows: Ctrl + F6 cycles forward through all open workbooks; adding Shift (Ctrl + Shift + F6) cycles backward, which effectively takes you to the one you last used.
  • Mac: Command + (grave accent) cycles forward; Command + Shift + cycles backward.

Why is this the best approach? Keyboard shortcuts are instant, do not require modification of settings, and remain consistent across every modern Excel version. They are especially powerful when you have more than two workbooks open, because Excel preserves the internal order of activation. Pressing the backward combination jumps exactly to the workbook you left, not merely the one located next in a visual list.

Use this method whenever:

  • You frequently jump between two files (reconciliation, side-by-side comparisons).
  • You keep your hand on the keyboard for data entry, formula writing, or VBA debugging.
  • You are on a locked-down corporate computer where installing add-ins or macros is not possible.

Prerequisites are minimal: both workbooks must be open in the same Excel instance. If one workbook lives in a separate Excel window (caused by starting Excel again from the Start menu), the shortcut switches only within that instance. Consolidate all files into a single instance for best results.

Although no Excel formula is involved, the underlying logic is simple:

Current Workbook Order: [Active] → Workbook2 → Workbook3
Action: Ctrl + Shift + F6
Result: Excel activates Workbook3 (the one you previously viewed)

When you need an alternative—for example, because your keyboard lacks an F-row or you want a single click—use Ribbon commands or a tiny VBA macro, both explained later.

Parameters and Inputs

Even though a shortcut has no numeric parameters, you still have practical “inputs” to manage so the switch behaves predictably:

  1. Workbook Collection: Every open file constitutes an element in Excel’s internal Windows collection. The sequence of that collection, not the order of icons on your taskbar, determines where the shortcut lands.
  2. Excel Instance: Ensure that all target workbooks reside in the same process. On Windows, each instance maintains its own Windows order.
  3. Window State: Minimized workbooks stay in the list. If you minimize a workbook, Excel may still activate it when you cycle backward. Verify that the previous workbook is not hidden or minimized if you prefer a visible switch.
  4. Protected View: Files that open in read-only Protected View also sit in the collection. Exiting Protected View without editing preserves their position.
  5. Mac Display Settings: On macOS with “Displays have separate Spaces” checked, each Space gets its own window chain. Keep Excel windows on the same Space for seamless cycling.

Edge cases arise when:

  • You close the active workbook; Excel jumps to whichever file is next in the Windows list, changing what Ctrl + Shift + F6 will target next time.
  • You programmatically activate a workbook in VBA; that action alters the internal order.

Understanding these non-traditional “inputs” helps you anticipate where the shortcut will land and design macros that respect user context.

Step-by-Step Examples

Example 1: Basic Scenario—Comparing Two Budgets

Imagine a controller verifying that the December forecast aligns with the original annual budget.

  1. Open [Budget_Original.xlsx] and [Forecast_Dec.xlsx] in the same Excel instance.
  2. Make [Budget_Original.xlsx] active, perhaps on sheet Summary in cell B12.
  3. Press Ctrl + Tab (or Ctrl + F6) once to move forward to [Forecast_Dec.xlsx].
  4. Review cell B12.
  5. To return instantly, press Ctrl + Shift + F6. Excel jumps back to [Budget_Original.xlsx], still on cell B12.

Why it works: Excel stores a Most Recently Used (MRU) stack for workbooks. The backward shortcut pops the top stack item—the one you left a moment ago.
Troubleshooting: If Ctrl + Shift + F6 does nothing, check whether Function keys are set to special media actions on your laptop. You might need the Fn modifier or to disable special keys in BIOS settings.

Variations: You can keep both workbooks visible using View → New Window on each file plus View → Arrange All. Even then, cycling shortcuts remain handy because ActiveWorkbook determines which file receives new formulas or edits.

Example 2: Real-World Application—Three-Way File Reconciliation

A logistics analyst needs to reconcile purchase orders among an ERP export, a supplier statement, and an internal cost accrual:

  • Files: [ERP_PO_List.xlsx], [Supplier_Statement.xlsx], [Accrual_Detail.xlsx]
  • Task: Confirm that every PO appears across all three lists with matching amounts.

Detailed Walkthrough:

  1. Start in [ERP_PO_List.xlsx], filter column Status to “Open.”
  2. Press Ctrl + F6 to move forward to [Supplier_Statement.xlsx].
  3. Use VLOOKUP or XLOOKUP in an adjacent column to identify missing PO numbers.
  4. Press Ctrl + F6 again to go to [Accrual_Detail.xlsx].
  5. After making a pivot table adjustment, you want to return to [Supplier_Statement.xlsx] immediately. Instead of cycling forward twice, press Ctrl + Shift + F6 once.

Business Impact: The shortcut eliminates several forward cycles, which become increasingly time-consuming as the number of open workbooks grows. It also lowers error risk because you always return to the file you just left, not whichever file happens to appear next in the Ribbon’s Switch Windows list.

Performance Considerations: With very large files, opening all three within a single instance may strain memory. Nevertheless, a single instance is preferable; separate instances break the MRU chain and disable the shortcut across files. If you must split instances, pin one window to a second monitor and rely on mouse clicks for that file while maintaining keyboard jumps among the others.

Example 3: Advanced Technique—Custom VBA PreviousWorkbook Macro

Suppose you routinely work with five to ten workbooks and want a one-click toolbar button, not a keyboard shortcut. You can capture the workbook you leave and activate it later with VBA.

  1. Insert a standard module and paste the following:
'Module: NavigationHelpers
Option Explicit
Dim gPrevWb As Workbook

Private Sub Workbook_WindowDeactivate(ByVal Wn As Window)
    'Store the workbook you are leaving
    Set gPrevWb = Wn.Parent
End Sub

Sub GoToPreviousWorkbook()
    If Not gPrevWb Is Nothing Then
        gPrevWb.Activate
    Else
        MsgBox "No previous workbook captured.", vbInformation
    End If
End Sub
  1. Assign GoToPreviousWorkbook to a Quick Access Toolbar (QAT) icon.
  2. Each time you click or switch away from a workbook, Excel fires Workbook_WindowDeactivate and updates gPrevWb.
  3. Clicking your QAT button instantly activates the previously stored workbook.

Edge Case Handling:

  • If you close the previous workbook, gPrevWb points to nothing. The macro verifies this and displays a friendly message instead of raising an error.
  • Because gPrevWb is module-level, it survives until you close Excel, which means the button keeps working across file closures and openings within the same session.

Why choose this method?

  • You can bind it to a custom hotkey if your company’s security software blocks Ctrl + F6.
  • You can extend the macro to toggle not only workbooks but also worksheets or even specific cell addresses, creating a sophisticated “Back” button analogous to a web browser.

Performance: The macro adds negligible overhead; it stores only a pointer to a workbook object. However, ensure that macros are enabled whenever you open the host file or load the code as an add-in.

Tips and Best Practices

  1. Consolidate Instances: Before a data-heavy session, open all required workbooks from inside a single existing Excel window. Doing so guarantees that Ctrl + Shift + F6 cycles through every file.
  2. Customize Your Keyboard: On Macs where the grave accent sits in an awkward spot, create a keyboard shortcut in System Settings to remap Command + Shift + Tab to “Next Window” within Excel.
  3. Mark Active Workbook Visually: Apply a distinct theme color or status bar message via VBA in Workbook_Activate. This removes ambiguity about which file currently receives edits after a quick switch.
  4. Pair with Split View: Use View → Split or New Window features inside a single workbook, then use the same Ctrl + Shift + F6 shortcut to bounce between entirely different files. This creates a two-dimension navigation pattern without the mouse.
  5. Learn the Sequence: Press Ctrl + F6 repeatedly, say ten times, to internalize the order of windows. Knowing the sequence helps you predict where the backward shortcut will take you next.
  6. Record a Macro: Even if you ultimately prefer the built-in shortcut, recording a one-line macro that calls Windows(2).Activate teaches you about Excel’s window collection and prepares you for more complex navigation scripts.

Common Mistakes to Avoid

  1. Multiple Excel Instances: Launching a second copy of Excel breaks the MRU stack. Users often do this inadvertently by double-clicking a file in Explorer after closing all previous files. Solution: Use File → Open inside the existing instance.
  2. Function Row Disabled: Many laptops default their F-keys to brightness or volume. Pressing Ctrl + F6 may instead lower your screen. Toggle “Use F1-F12 as standard function keys” in your system settings or hold Fn.
  3. Hidden or Minimized Windows: If your previous workbook is minimized, cycling back shows no visual change, causing confusion. Keep target workbooks in a normal state or memorize the window title to confirm activation.
  4. Protected View Interference: Opening an email attachment triggers Protected View, which can pause the MRU chain. Exit Protected View before relying on the shortcut, or the chain may skip that workbook.
  5. UN-Saved New Workbooks: Newly created workbooks named Book1, Book2, and so on share similar titles, making it easy to land on the wrong one. Save with descriptive names as soon as you create them to avoid ambiguity.

Alternative Methods

MethodSpeedSetup RequiredCross-PlatformBest Use Case
Ctrl + Shift + F6 or Command + Shift + `InstantNoneYesHigh-frequency switching, keyboard-centric users
Ribbon → View → Switch WindowsModerateNoneYesOccasional switching, discoverable by new users
Alt + W + W (Windows Access Keys)FastMemorize keystroke sequenceWindows onlyKeyboard users who dislike Function keys
Taskbar ClickSlowNoneYesVisual confirmation, very few workbooks
Custom VBA MacroInstantMacro security enablementYesAutomated workflows, custom buttons

Detailed Comparison:

  • Ribbon Button: Requires two clicks—open dropdown plus select workbook. It is slower but intuitive for beginners.
  • Access Keys: Press Alt, then W, then W. Excel displays numbers next to each open workbook, allowing direct selection. This bypasses cycling but needs a three-key memory.
  • Taskbar: Hovering over Excel’s icon previews each window. Click the thumbnail to activate. Works across instances but becomes cumbersome with many files.
  • Custom VBA: Offers full flexibility. You can implement a “Back” and “Forward” stack like a web browser or tie navigation to workbook events. Downside is the macro trust center warning on some corporate networks.

FAQ

When should I use the keyboard shortcut versus a macro?

If you merely need to bounce between the file you are editing and the one you just consulted, use Ctrl + Shift + F6 (Windows) or Command + Shift + ` (Mac). Choose a macro when you want a clickable interface, need to integrate the switch into larger automation, or must support colleagues who dislike or cannot use Function keys.

Can this work across multiple sheets inside the same workbook?

The shortcut operates at the workbook level. To jump to the previous sheet, use Ctrl + PageUp or Ctrl + PageDown instead. You can also extend the VBA example to store and reactivate a specific worksheet.

What are the limitations?

The primary limitation is that the shortcut’s scope is confined to the current Excel instance. Separate instances do not share the MRU list. Additionally, hidden or minimized windows remain valid targets, which may feel like nothing happened when you switch.

How do I handle errors?

For keyboard shortcuts, the only “error” is cycling to an unintended file; simply press the shortcut again to continue cycling. For VBA solutions, trap errors such as workbook not found, workbook closed, or macro security disabled using On Error Resume Next or more specific handlers, and always provide user feedback through MsgBox or status bar messages.

Does this work in older Excel versions?

Yes, Ctrl + F6 has existed since Excel 97 on Windows. The Mac shortcut Command + ` has been available at least since Excel 2011. Ribbon buttons and Access Keys may vary slightly but the underlying window collection logic remains identical.

What about performance with large datasets?

Switching itself is near instant because Excel simply repaints a different window; workbook size does not matter. However, loading very large workbooks into the same instance can consume memory. Watch Excel’s memory footprint in Task Manager and consider splitting extremely heavy files into another instance if you experience sluggishness during recalculations, while accepting that the shortcut will not work across those instances.

Conclusion

Mastering the skill of going to the previously active workbook delivers an immediate productivity boost, slashing the friction of multi-file analysis and reducing the odds of mis-typing data into the wrong workbook. You now know the lightning-fast keyboard shortcuts, how they fit into Excel’s internal window order, and how to supplement them with Ribbon commands or VBA automation. Incorporate these techniques into your daily routine, pair them with related navigation shortcuts like Ctrl + PageUp for worksheets, and you will navigate complex Excel environments with the ease and confidence of a true power user. Keep practicing, explore custom macros for specialized needs, and watch your overall workflow efficiency climb.

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