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

Changing Toolbar Location

If you don't like where your toolbars are located, just move them around.

Discover More

Editing While Spell-Checking

When you run a spell-check on a document, you may end up seeing other things that need to be edited. Never fear; you can do ...

Discover More

Protecting Tracked Changes

Track Changes is a great tool for editors and collaborators to use when creating documents. An author, seeking changes from ...

Discover More

Comprehensive VBA Guide Visual Basic for Applications (VBA) is the language used for writing macros in all Office programs. This complete guide shows both professionals and novices how to master VBA in order to customize the entire Office suite for their needs. Check out Mastering VBA for Office 2010 today!

More ExcelTips (ribbon)

Setting the AutoRecover Directory

Excel, by default, periodically writes information to AutoRecover files that can help protect your data in case Excel is ...

Discover More

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

Controlling Display of the Formula Bar

The Formula Bar is a regularly used feature in the Excel interface. You can, however, modify whether Excel displays the ...

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 9 + 4?

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.