Please Note: This article is written for users of the following Microsoft Excel versions: 2007, 2010, and 2013. If you are using an earlier version (Excel 2003 or earlier), this tip may not work for you. For a version of this tip written specifically for earlier versions of Excel, click here: Increasing Undo Levels.

Increasing Undo Levels

by Allen Wyatt
(last updated September 5, 2015)

3

As you are working with a worksheet, Excel allows you to "undo" previous actions and return your worksheet to the condition before that action was taken. Normally you use Ctrl+Z to undo an action or you can use the Undo tool on the toolbar.

By default, Excel maintains your last 100 actions, but this number of undo levels can be misleading. There are some actions that can clear out the undo stack, making it impossible to undo any previous actions. For instance, running some macro commands can cause the stack to be cleared. In addition, some actions cannot be undone (they don't get placed on the stack).

If you find that the Undo command is simply of no use to you, it is possible that the number of undo levels in your installation of Excel has been changed. This cannot be done within Excel itself, but can be done in the Windows Registry. If the Registry value was changed to some very low value, then the undo tool loses meaning. The following Knowledge Base article explains how you can make changes to the proper Registry setting:

http://support.microsoft.com/?kbid=211922

Note that the article in the Knowledge Base says it is for Excel 2000 through 2007. To the best of my knowledge, the Registry-hack approach will still work with later versions of Excel, as well. The only difference is that you'll need to choose the appropriate Registry key for your version of Excel.

While you can use this technique to increase the number of undo levels as high as you want, Microsoft suggests you don't increase the undo levels above 100, as there may be a serious hit on the performance of Excel.

ExcelTips is your source for cost-effective Microsoft Excel training. This tip (6132) applies to Microsoft Excel 2007, 2010, and 2013. You can find a version of this tip for the older menu interface of Excel here: Increasing Undo Levels.

Author Bio

Allen Wyatt

With more than 50 non-fiction books and numerous magazine articles to his credit, Allen Wyatt is an internationally recognized author. He  is president of Sharon Parq Associates, a computer and publishing services company. ...

MORE FROM ALLEN

Using Message Boxes

If your macro needs to communicate with a user, one simple way to do it is to use a message box. Here's how to use this ...

Discover More

Counting with Formulas

When you need to count a number of cells based upon a single criteria, the standard function to use is COUNTIF. This tip ...

Discover More

Turning Off Insert Options

When you insert rows, columns, or cells in a worksheet, does the resulting Insert Options icon bother you? Here's how to get ...

Discover More

Professional Development Guidance! Four world-class developers offer start-to-finish guidance for building powerful, robust, and secure applications with Excel. The authors show how to consistently make the right design decisions and make the most of Excel's powerful features. Check out Professional Excel Development today!

More ExcelTips (ribbon)

Entered Values are Divided by 100

Enter a value into a cell and "poof!" it is automatically divided by 100. What's going on, and how can you fix it so that ...

Discover More

Specifying the Behavior of the Enter Key

You type information in a cell and press Enter. What happens then? Excel allows you to specify exactly what should happen, as ...

Discover More

Adding an Equal Sign Tool

In older versions of Excel (97 and 2000) the program had an equal sign tool that appeared right next to the Formula bar. If ...

Discover More
Subscribe

FREE SERVICE: Get tips like this every week in ExcelTips, a free productivity newsletter. Enter your address and click "Subscribe."

View most recent newsletter.

Comments

If you would like to add an image to your comment (not an avatar, but an image to help in making the point of your comment), include the characters [{fig}] in your comment text. You’ll be prompted to upload your image when you submit the comment. Images larger than 600px wide or 1000px tall will be reduced. Up to three images may be included in a comment. All images are subject to review. Commenting privileges may be curtailed if inappropriate images are posted.

What is 2 + 1?

2016-08-27 02:16:56

Nikita

How do I disable undo and redo functionality in excel using VBA


2015-09-07 08:42:16

balthamossa2b

WARNING: messing with the registry without knowing what you do can irreversibly break your OS.

This tip is definitely not for beginners.


2015-09-05 09:26:36

Petros

This free Excel addin lets users change or disable Undo levels without the risk of registry corruption

http://www.spreadsheet1.com/excel-options-addin.html


This Site

Got a version of Excel that uses the ribbon interface (Excel 2007 or later)? This site is for you! If you use an earlier version of Excel, visit our ExcelTips site focusing on the menu interface.

Newest Tips
Subscribe

FREE SERVICE: Get tips like this every week in ExcelTips, a free productivity newsletter. Enter your address and click "Subscribe."

(Your e-mail address is not shared with anyone, ever.)

View the most recent newsletter.