Note We recommend that you do not increase the number of undo levels beyond 100. The more you increase the number of undo levels, the more random access memory (RAM) Excel requires to store the undo history. This affects the performance of Excel.
If the undo history is set to zero, no memory is allocated for undoing actions. The higher the undo history value, the more memory Excel allocates for the history. This directly affects the performance of your computer when you run Excel.
Note When you run a Visual Basic for Applications macro, Excel allocates no memory for undoing actions. This feature is disabled for optimization of performance when you run a macro.
To use Registry Editor to change the number of undo levels, follow these steps.
Important This section, method, or task contains steps that tell you how to modify the registry. However, serious problems might occur if you modify the registry incorrectly. Therefore, make sure that you follow these steps carefully. For added protection, back up the registry before you modify it. Then, you can restore the registry if a problem occurs. For more information about how to back up and restore the registry, click the following article number to view the article in the Microsoft Knowledge Base:
- Close any programs that are running.
- Click Start, click Run, type regedit in the Open box, and then click OK.
- In Registry Editor, expand one of the following registry subkeys, as appropriate for the version of Excel that you are running:
Microsoft Office Excel 2007HKEY_CURRENT_USER\Software\Microsoft\Office\12.0\Excel\OptionsMicrosoft Office Excel 2003HKEY_CURRENT_USER\Software\Microsoft\Office\11.0\Excel\OptionsMicrosoft Excel 2002HKEY_CURRENT_USER\Software\Microsoft\Office\10.0\Excel\OptionsMicrosoft Excel 2000HKEY_CURRENT_USER\Software\Microsoft\Office\9.0\Excel\Options
- On the Edit menu, point to New, and then click DWORD Value. Select New Value #1, type UndoHistory, and then press ENTER.
- On the Edit menu, click Modify.
- In the Edit DWORD Value dialog box, click Decimal under Base. Type a value between 0 and 100 in the Value box, click OK, and then exit Registry Editor.
- Start Excel. Excel stores an undo history for the number of actions that you specified in step 6.
Article ID: 211922 - Last Review: Apr 29, 2008 - Revision: 1