How to Add Undo and Redo Buttons in Excel

How-to basics · Updated November 27, 2026

Adding Undo and Redo buttons to Excel’s Quick Access Toolbar (QAT) gives you one-click access to reverse or reapply changes, instead of relying on keyboard shortcuts (Ctrl+Z / Ctrl+Y) or the small icons in the title bar. This is especially handy if you prefer mouse-driven workflows or if the default Undo/Redo icons are not visible in your Excel version. The process takes less than a minute and works in Excel for Microsoft 365, Excel 2021, 2019, and earlier versions on Windows; Mac steps are noted where they differ.

What You’ll Need

  • A computer with Microsoft Excel installed (Windows or Mac).
  • An open Excel workbook (any workbook will do).
  • No special permissions or add-ins required.

Step-by-Step

  1. Open Excel and look at the Quick Access Toolbar. The Quick Access Toolbar (QAT) is the thin strip of icons at the very top-left of the Excel window, above the ribbon (File, Home, Insert, etc.). By default, it shows Save, Undo, and Redo icons, but if you’ve customized it or they’re missing, follow the next steps.
  2. Click the small dropdown arrow at the end of the Quick Access Toolbar. This arrow is located at the far right of the QAT (next to the last icon). It looks like a tiny downward-pointing triangle. Click it to open a menu of common commands.
  3. Check if Undo and Redo are already in the list. In the dropdown menu, you’ll see a list of checkboxes. If “Undo” and “Redo” are already checked, they’re already on the toolbar – you can skip to step 6. If they’re not checked, click each one to add them. They will appear instantly on the QAT.
  4. If Undo/Redo are not in the common list, use “More Commands…” Click the same dropdown arrow and select More Commands… at the bottom. This opens the Excel Options dialog box (on Windows) or Excel Preferences (on Mac).
  5. In the dialog, choose “All Commands” from the “Choose commands from” dropdown. On Windows, this is in the left pane of the Excel Options dialog. On Mac, look for a similar dropdown in the “Customize” section. Scrolling through the alphabetical list, find “Undo” and “Redo”. Select “Undo” and click the Add button (>>) to move it to the right pane (the list of current QAT buttons). Repeat for “Redo”.
  6. Arrange the buttons if you like. In the same dialog, you can select a command in the right pane and use the up/down arrows to reorder them. For example, you might want Undo and Redo right next to Save. Click OK when done.
  7. Use the buttons. After adding, the Undo and Redo icons appear on the QAT. Click Undo to reverse the last action (or click the small dropdown arrow next to Undo to undo multiple steps at once). Click Redo to reapply an action you just undid.

Common Mistakes

  • Clicking the wrong dropdown: The dropdown arrow for the QAT is at the very end of the toolbar, not the one in the ribbon’s “Home” tab. Look for the tiny arrow at the top-left corner of the window.
  • Adding the wrong command: In the “More Commands” dialog, if you search for “Undo” but accidentally add “Undo History” or a similar item, it won’t work the same. Make sure you select the exact “Undo” command.
  • Not seeing the buttons after adding: If you added them but they don’t appear, you might have added them to a different toolbar (like the ribbon itself). In the dialog, ensure the “Customize Quick Access Toolbar” dropdown (top right) is set to “For all documents” or the current workbook, not a specific ribbon.
  • Assuming Redo reappears after new actions: Redo only works immediately after an Undo. If you type or perform a new action after undoing, the Redo history is cleared, and the Redo button will be grayed out.

Tips

  • Keyboard shortcuts are faster: Even with buttons, Ctrl+Z (Undo) and Ctrl+Y (Redo) on Windows, or Cmd+Z and Cmd+Y on Mac, are the quickest ways to undo/redo. The buttons are for mouse users or those who prefer visual access.
  • Undo multiple steps at once: Click the small dropdown arrow next to the Undo button on the QAT (if visible) to see a list of recent actions. You can select multiple steps to undo at once, but note that you can’t undo individual steps out of order – it’s all or nothing.
  • Customize for all workbooks: When adding via “More Commands”, choose “For all documents” in the dropdown (Windows) or “All Workbooks” (Mac) so the buttons appear in every Excel file you open, not just the current one.
  • Reset if you mess up: If you accidentally remove other buttons from the QAT, you can reset it by going to File > Options > Quick Access Toolbar (Windows) and clicking “Reset” at the bottom. On Mac, go to Excel > Preferences > Ribbon & Toolbar and choose “Reset”.

Troubleshooting

  • Undo/Redo buttons are grayed out: This means there are no actions to undo or redo. Perform an action (like typing in a cell) and the Undo button will become active. If you just opened Excel, there’s nothing to undo.
  • Buttons appear but don’t work: If clicking Undo does nothing, you might have a macro running that disables undo. In that case, save your work and restart Excel. Also, some actions like running a VBA macro cannot be undone with the Undo button – you must save a backup before running macros.
  • I can’t find “More Commands…” on Mac: On Mac, the QAT customization is under Excel > Preferences > Ribbon & Toolbar. There, you can search for Undo/Redo and add them.
  • Redo button doesn’t appear even after adding: In some versions, the Redo command might be named “Repeat” instead. In Excel, “Repeat” (Ctrl+Y) redoes the last action, but it also repeats the last action if you haven’t undone. If you added “Repeat”, it works like Redo in most cases. To be safe, add both “Redo” and “Repeat” if available.

Frequently Asked Questions

  • Can I add Undo/Redo buttons to the ribbon instead of the Quick Access Toolbar? Yes, but the ribbon is more complex. You’d need to create a custom group in a tab via File > Options > Customize Ribbon. However, the QAT is simpler and always visible, so it’s recommended.
  • Why is my Undo button missing by default? In some Excel versions or after a reset, the QAT may only show Save. The Undo and Redo buttons are not always on the QAT by default in newer versions – they moved to the top-left of the title bar (next to the File tab). If you don’t see them there, follow the steps above to add them to the QAT.
  • How many times can I undo? Excel’s undo limit is typically 100 actions, but it can be lower if you have limited memory. You can’t change this limit in the settings, but you can use the dropdown arrow on the Undo button to undo up to the limit at once.
  • Does Undo work after saving? Yes, you can undo actions even after saving the file, as long as you haven’t closed Excel. Once you close and reopen the workbook, the undo history is cleared.
  • Can I undo a macro? No, running a VBA macro cannot be undone with the Undo button. Always save a copy of your workbook before running a macro, because the changes are permanent unless you manually reverse them.
  • Is there a way to redo after closing Excel? No, redo history is lost when you close the workbook. You’ll need to manually reapply the changes or use a version history if you’re using OneDrive or SharePoint.

Related

Try it: the Date Difference Calculator: days, months, years and weekdays between two dates, with the DATEDIF formulas.

More in How-to basics

Sources: Function behaviour and menu paths: Microsoft Support documentation for Excel. Method & sources

Spotted an error in this guide? Let us know.