How to modify the number of Undo levels in Excel

Although Microsoft Excel allows users to undo action 6 times, you can increase or decrease this number with the help of this guide. It is possible to modify the number of Undo levels in Excel using the Registry Editor. Here is what you need to do in the Windows Registry to get things done.

Like some other programs, which allow users to edit files, you can undo changes according to your requirements. Let’s assume that you have made several wrong changes in your spreadsheet. The best way to get rid of them is by using the Undo option. However, the problem starts when you need to undo changes more than six times.

Even if you are using the latest version of Microsoft Excel, you won’t be able to undo changes more than six times. That is because Microsoft Excel allocates RAM for storing only six previous changes. If you increase this number, Microsoft Excel will start using more RAM than the default setting. In other words, if you do not have much RAM, you will have lagging while using Microsoft Excel.

However, at times, you might need to enable more undo levels than the default one. In such situations, you can follow the Registry Editor guide to get the change done. As you are going to make changes in the Registry Editor, it is highly recommended to create a System Restore point.

How to modify the number of Undo levels in Excel

To change or modify the number of Undo levels in Excel, follow these steps:

  1. Press Win+R to open the Run prompt.
  2. Type regedit > hit the Enter button.
  3. Click on the Yes button.
  4. Navigate to Microsoft in HKCU.
  5. Right-click on Microsoft > New > Key and set the name as office.
  6. Repeat these steps to create these sub-keys: 16.0 > excel > options.
  7. Right-click on options > New > DWORD (32-bit) Value.
  8. Set the name as UndoHistory.
  9. Double-click on it and select the Decimal option.
  10. Choose a value between 0 to 100.
  11. Click the OK button.

To learn more about these steps, continue reading.

First, you need to open the Registry Editor on your computer. For that, press Win+R > type regedit > hit the Enter button, and click on the Yes option on the UAC prompt.

Then, navigate to this path:


Here, you need to create a few sub-keys. For that, right-click on the Microsoft key, select New > Key and name it as office.

How to modify the number of Undo levels in Excel

Then, repeat the same steps and create a sub-key under the office key, and name it 16.0. Following that, create the next sub-keys and name them excel and options.

Once the following path is ready, you need to create a REG_DWORD value:


For that, right-click on options > New > DWORD (32-bit) Value and set the name as UndoHistory.

How to modify the number of Undo levels in Excel

Next, right-click on this REG_DWORD value and choose the Decimal option. Then, set the Value data between to 100.

How to modify the number of Undo levels in Excel

Note: You can set more than 100 undo levels. However, the more you assign, the more RAM you need to allocate for Excel. That is why it is not recommended to set a Value data of more than 100.

Finally, click the OK button and restart your computer to get the changes.

How many times can you Undo in Excel?

By default, Excel allows users to undo changes up to 6 times. However, it is possible to change the number of undo levels in Excel. For that, you need to use the Windows Registry. A detailed guide is mentioned here, and it is recommended to follow that to get things done.

Read: Increase or Decrease the maximum number of Undos in PowerPoint.

Can only undo once in Excel?

No, the default setting enables users to undo changes up to six times. Nonetheless, you can change this setting with the help of the Registry Editor. For that, you need to create a REG_DWORD value in the HKEY_CURRENT_USERSoftwarePoliciesMicrosoftoffice16.0exceloptions key and set the Value data between 0 and 100.

How to modify the number of Undo levels in Excel

Source link


Alice AUSTIN is studying Cisco Systems Engineering. He has passion with both hardware and software and writes articles and reviews for many IT websites.

Leave a Reply