How to Get the Undo Button Back in Excel
In this article
The Undo button disappears from Excel's Quick Access Toolbar when the toolbar is customized, when the workbook is in a state where undo is unavailable (such as during cell editing or after certain actions), or when the interface is reset. To get it back, open Excel's options, go to the Quick Access Toolbar settings, and add the Undo command from the list of available commands. The exact labels vary slightly by Excel version and platform, but the path is essentially File > Options > Quick Access Toolbar on Windows, or Excel > Preferences > Ribbon & Toolbar on Mac. If the button is missing only temporarily, pressing Esc or clicking elsewhere in the sheet often restores it.
What You'll Need
- Excel for Windows or Excel for Mac (the steps differ slightly; both are covered below).
- A workbook open — the Quick Access Toolbar customization is available even with a blank workbook.
- Permission to change Excel settings on your computer (standard user accounts can usually do this).
Step-by-Step
- Check whether Undo is truly missing or just greyed out. Look at the top-left of the Excel window. If you see a curved arrow but it is grey, Undo is present but unavailable — this happens while you are editing a cell (press Enter or Esc to exit edit mode) or after actions that cannot be undone, such as saving and closing a workbook. If no arrow is visible at all, continue to the next step.
- Open Excel Options. On Windows, click File > Options. On Mac, click Excel > Preferences. Menu labels can differ slightly by version and region, so look for the Options or Preferences entry under the File or Excel menu.
- Select Quick Access Toolbar. In the Options window, choose Quick Access Toolbar (Windows) or Ribbon & Toolbar (Mac). This is where the buttons shown above the ribbon are configured.
- Choose the command list. Use the drop-down labeled "Choose commands from" and select "All Commands" so the full list is available. On Mac, the equivalent list appears in the Ribbon & Toolbar preferences.
- Find Undo in the list. Scroll to the U section and select Undo. If you also want Redo, select Redo as well — they are separate commands.
- Add the command. Click Add (Windows) or the plus button (Mac) to move Undo into the right-hand list of toolbar buttons. Use the up and down arrows beside the list to position it where you expect to see it, typically near the left end.
- Confirm and close. Click OK (Windows) or close the Preferences window (Mac). The Undo button should now appear on the Quick Access Toolbar.
- Test it. Type something into a cell, press Enter, then click the Undo button. The entry should be removed. If it is not, see the troubleshooting section below.
Common Mistakes
- Confusing Undo with the Back button or the Undo arrow in the formula bar. The formula bar has its own cancel (X) and enter (checkmark) buttons during editing; those are not the Undo command.
- Adding Undo to the ribbon instead of the Quick Access Toolbar. The Quick Access Toolbar is the small row above the ribbon; customizing a ribbon tab will not restore the classic Undo button location.
- Looking for Undo while still in cell edit mode. Undo is disabled until you commit or cancel the edit. Press Enter or Esc first.
- Assuming Undo is gone when it is only greyed out. A greyed button means there is nothing to undo, not that the button is missing.
- Customizing the wrong Office program. Changes made in Word or PowerPoint options do not carry over to Excel; each program has its own Quick Access Toolbar settings.
Tips
- Keyboard shortcuts work even when the button is missing: Ctrl+Z undoes on Windows, and Command+Z undoes on Mac. Ctrl+Y (Windows) or Command+Y (Mac) redoes.
- You can add Undo to the Quick Access Toolbar and also keep Redo beside it for faster correction of mistakes.
- If you use a shared or managed computer, your organization may lock the Quick Access Toolbar settings. In that case the keyboard shortcut is the reliable fallback.
- Export your Quick Access Toolbar customization if Excel offers the Import/Export option in the same settings screen, so you can restore it after a reset or on another computer.
- If the entire ribbon and toolbar look unusual, check whether Excel is in Full Screen mode (View tab) — the Quick Access Toolbar can be hidden in some views.
Troubleshooting
If the Undo button still does not appear after following the steps, work through these checks in order, simplest first.
- Restart Excel. Close all workbooks, quit Excel completely, and reopen it. A glitch in the toolbar rendering often clears on restart.
- Check for updates. Use your Microsoft 365 or Office update option (File > Account > Update Options > Update Now on Windows) to make sure Excel is current. Interface bugs are sometimes fixed in updates.
- Reset the Quick Access Toolbar. In the same Quick Access Toolbar settings screen, look for a Reset button and choose to reset only the Quick Access Toolbar. This restores the default buttons. Note that any custom buttons you added will be removed, so make a note of them first.
- Sign out and back in. If you are signed in to Microsoft 365, sign out of Office and sign back in. This can refresh a corrupted user profile setting.
- Repair Office. On Windows, go to Settings > Apps > Installed apps, find Microsoft 365 or Office, and choose Modify > Repair. A Quick Repair is safe and does not delete your files; a Full Repair may take longer. On Mac, reinstall Office from the official Microsoft download if repair options are unavailable.
- Check for add-ins. Disable Excel add-ins temporarily (File > Options > Add-ins) to see whether one is interfering with the toolbar. Re-enable them one at a time to identify the culprit.
If none of these work, the keyboard shortcut Ctrl+Z (Windows) or Command+Z (Mac) remains available and performs the same function as the button.
Frequently Asked Questions
Why did my Undo button disappear?
Most often the Quick Access Toolbar was customized or reset, removing the button. It can also happen after an Excel update, a profile change, or when the workbook is in a state where undo is temporarily unavailable, such as during cell editing.
Can I use Undo without the button?
Yes. Press Ctrl+Z on Windows or Command+Z on Mac. These shortcuts work regardless of whether the button is visible.
Does the Undo button come back automatically?
Not usually. If it was removed from the Quick Access Toolbar, you need to add it back through the options described above. If it is only greyed out, it will become active again once there is an action to undo.
Will resetting the Quick Access Toolbar delete my other custom buttons?
Yes, a reset restores the default set and removes any custom buttons you added. Note which buttons you use before resetting so you can add them back.
Is the Undo button different on Mac?
The location and menu names differ — on Mac you use Excel > Preferences > Ribbon & Toolbar — but the concept is the same: add the Undo command to the toolbar. The keyboard shortcut is Command+Z.
Why is Undo greyed out even though I just made a change?
Some actions cannot be undone, such as saving and closing a workbook or certain operations that affect the file structure. In those cases Excel disables Undo until you make a change that can be reversed.