Smart Systems for Home

Plain how-to guides for smart home, security and home Wi-Fi

How to Get Undo Back in Excel: Quick Fix

· 5 min read · Home Tech

In this article
  1. What You'll Need
  2. Step-by-Step
  3. Common Mistakes
  4. Tips
  5. Troubleshooting
  6. Frequently Asked Questions

If the Undo button is missing or greyed out in Excel, you can usually restore it by customizing the Quick Access Toolbar or using the keyboard shortcut Ctrl+Z (Cmd+Z on Mac). The most common cause is that the button was removed from the toolbar or the workbook is in a state where undo is temporarily unavailable, such as during cell editing or when a macro is running.

What You'll Need

  • Excel for Windows or Mac (steps may differ slightly by version)
  • Access to the Quick Access Toolbar customization options
  • Basic familiarity with keyboard shortcuts

Step-by-Step

  1. Check if Undo is simply greyed out. If the Undo button appears but is greyed, it means there is nothing to undo at that moment. Click into a cell, type something, press Enter, and the button should become active. If it stays grey after making a change, proceed to the next steps.
  2. Use the keyboard shortcut. Press Ctrl+Z (Windows) or Command+Z (Mac) to undo the last action. This works even if the toolbar button is missing. If the shortcut does nothing, the issue is likely not the button but the workbook state (see Troubleshooting).
  3. Add Undo to the Quick Access Toolbar. Click the small drop-down arrow at the end of the Quick Access Toolbar (the row of icons at the very top of the Excel window). Select More Commands. In the Choose commands from drop-down, pick All Commands or Popular Commands. Scroll to find Undo, select it, and click Add. Then click OK. The Undo button should now appear on the toolbar.
  4. Reset the Quick Access Toolbar if needed. If the toolbar is cluttered or the Undo option is not appearing, you can reset it. Open the same More Commands dialog, click Reset, and choose Reset only Quick Access Toolbar. Confirm and click OK. This restores the default buttons, which include Undo.
  5. Check for Excel updates. An outdated version can cause toolbar glitches. Go to File > Account > Update Options > Update Now (Windows) or use the Mac App Store updates. Install any available updates and restart Excel.
  6. Restart Excel. Close all Excel windows and reopen the workbook. A simple restart often resolves temporary toolbar issues.
  7. Test Undo in a new workbook. Open a blank workbook, type in a cell, and try Ctrl+Z. If Undo works there but not in your original file, the problem is specific to that file (see Troubleshooting).

Common Mistakes

  • Expecting Undo to work during cell editing. When you are actively editing a cell (cursor blinking inside the cell), Ctrl+Z may undo text within the cell rather than the last action. Press Enter to commit the edit first.
  • Confusing Undo with Redo. Redo (Ctrl+Y) restores an action you undid. If you accidentally undo too much, use Redo to step forward.
  • Assuming Undo works after saving and closing. Undo history is cleared when you close a workbook. You cannot undo actions from a previous session.
  • Overlooking macro or protected sheet limitations. If a macro is running or the sheet is protected, Undo may be disabled. Check the sheet protection status under the Review tab.
  • Removing the Undo button accidentally. Right-clicking the Quick Access Toolbar and choosing Remove from Quick Access Toolbar can delete the button. Re-add it via More Commands.

Tips

  • Use Ctrl+Z repeatedly to undo multiple steps in sequence. Excel keeps a history of recent actions (the number varies by version and available memory).
  • If the Undo button is missing but the shortcut works, you can still undo. Consider adding the button back for convenience.
  • Customize the Quick Access Toolbar with other frequently used commands like Redo, Save, and Print for faster access.
  • On Mac, the shortcut is Command+Z, and the Quick Access Toolbar customization is under the Quick Access Toolbar tab in Excel preferences.
  • If you use Excel Online, the Undo button is in the Home tab ribbon. The steps to customize the toolbar differ; use the ribbon's Undo button or Ctrl+Z.

Troubleshooting

If Undo still does not work after the steps above, try these checks:

  • Workbook is shared or co-authored: In shared workbooks, Undo may be limited. Check the title bar for [Shared] or co-authoring indicators. Save a copy and work offline if needed.
  • Macro is running or paused: Press Esc to stop any macro, then try Undo again. If a macro is stuck, close Excel via Task Manager (Windows) or Force Quit (Mac) and reopen.
  • Sheet is protected: Go to Review > Unprotect Sheet (you may need a password). Undo is disabled on protected sheets.
  • Excel is in a weird state: Close Excel completely, then reopen. If the problem persists, try opening Excel in safe mode (hold Ctrl while launching on Windows) to rule out add-ins. Disable add-ins via File > Options > Add-ins.
  • File corruption: Open the file in Excel Online or use Open and Repair (File > Open > Browse, select the file, click the arrow next to Open, choose Open and Repair).
  • Keyboard shortcut conflict: Some apps intercept Ctrl+Z. Close other apps or test in a new workbook. On Mac, check System Preferences > Keyboard > Shortcuts for conflicts.

If none of these work, the issue may be with your Excel installation. Consider repairing Office (Windows: Settings > Apps > Microsoft Office > Modify > Repair) or reinstalling. Back up your files first.

Frequently Asked Questions

Why is my Undo button greyed out?

The Undo button is greyed out when there is nothing to undo, or when Excel is in a state where undo is unavailable, such as during cell editing, when a macro is running, or when the sheet is protected. Make a change first, then check.

Can I undo more than one step?

Yes, press Ctrl+Z repeatedly to undo multiple actions in sequence. Excel keeps a history of recent actions, but the number is limited and varies by version and available memory.

How do I get the Undo button back on the Quick Access Toolbar?

Click the drop-down arrow on the Quick Access Toolbar, choose More Commands, select Undo from the list, click Add, then OK. If the toolbar is corrupted, reset it to default.

Does Undo work after saving and closing the file?

No. Undo history is cleared when you close a workbook. You cannot undo actions from a previous session.

Why does Ctrl+Z not work in Excel?

Ctrl+Z may not work if the workbook is shared, a macro is running, the sheet is protected, or another app is intercepting the shortcut. Try the troubleshooting steps above.

Is Undo available in Excel Online?

Yes, Excel Online has an Undo button on the Home tab and supports Ctrl+Z. The Quick Access Toolbar customization is not available in Excel Online; use the ribbon button instead.