Please Note: This article is written for users of the following Microsoft Excel versions: 97, 2000, 2002, and 2003. If you are using a later version (Excel 2007 or later), this tip may not work for you. For a version of this tip written specifically for later versions of Excel, click here: Increasing Undo Levels.
by Allen Wyatt
(last updated May 7, 2016)
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 16 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, and saving the workbook clears the undo stack. In addition, some actions cannot be undone (they don't get placed on the stack), but the list of such actions can vary based on the version of Excel you are using.
If you find that the Undo command is simply of no use to you, there are a number of possible reasons. One common reason is that you have AutoSave set up with a very short interval. Every time you save a workbook—whether explicitly or with AutoSave—the undo stack is cleared and you cannot undo anything that happened before the save.
Another possible reason is 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 in Excel 2000, 2002, and 2003:
If you are using Excel 97, you can make the change following the information in this article:
While you can use these techniques 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 (3145) applies to Microsoft Excel 97, 2000, 2002, and 2003. You can find a version of this tip for the ribbon interface of Excel (Excel 2007 and later) here: Increasing Undo Levels.
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!
Need to limit the number of characters that can be entered into a cell? One easy way to do it is through the use of Data ...Discover More
Referring to a range of cells on the current worksheet is easy. But what if you want to refer to a range on a number of ...Discover More
Don't want to always type the decimal point as you enter information in a worksheet? If you are entering information that ...Discover More
FREE SERVICE: Get tips like this every week in ExcelTips, a free productivity newsletter. Enter your address and click "Subscribe."
Got a version of Excel that uses the menu interface (Excel 97, Excel 2000, Excel 2002, or Excel 2003)? This site is for you! If you use a later version of Excel, visit our ExcelTips site focusing on the ribbon interface.