Please Note: This article is written for users of the following Microsoft Word versions: 97, 2000, 2002, and 2003. If you are using a later version (Word 2007 or later), this tip may not work for you. For a version of this tip written specifically for later versions of Word, click here: Changing the Maximum Undo Levels.

Changing the Maximum Undo Levels

by Allen Wyatt
(last updated January 29, 2018)


Rob asked if there is a way to change the maximum number of undo levels in Word. The short answer is, no, you can't. The reason is that you don't need to—the only thing that limits the number of undo levels in Word is the amount of resources you have in your computer. This means that the number of undo levels in Word is, for all intents and purposes, unlimited. In fact, you can run a small macro to show that this is the case. Consider this macro:

Sub TestUndo()
    For i = 1 To 10000
        ActiveDocument.Range.InsertAfter i & " "
    Next i
End Sub

It will take a few moments to run the macro, which inserts 10,000 numbers in your document, but when the macro is done, take a look at your undo stack (click on the down-arrow next to the Undo tool on the toolbar). You will notice that you can undo all 10,000 individual steps.

There are things, however, that will clear the undo stack. For instance, protecting a document for forms, executing the UndoClear method in a macro, or closing and reopening a document.

WordTips is your source for cost-effective Microsoft Word training. (Microsoft Word is the most popular word processing software in the world.) This tip (1782) applies to Microsoft Word 97, 2000, 2002, and 2003. You can find a version of this tip for the ribbon interface of Word (Word 2007 and later) here: Changing the Maximum 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. ...


Using Continued Lines

You can create a special header and footer page numbering scheme by using nested fields. This tip shows an example of how ...

Discover More

Converting Cells to Proper Case

When storing text in a worksheet, you may have a need to change the case of that text so that the initial letter in each ...

Discover More

Getting Rid of Everything Except Numbers

Got some numbers and letters mixed up in the same cell? You may need to get rid of those letters so you are left with ...

Discover More

Do More in Less Time! Are you ready to harness the full power of Word 2013 to create professional documents? In this comprehensive guide you'll learn the skills and techniques for efficiently building the documents you need for your professional and your personal life. Check out Word 2013 In Depth today!

More WordTips (menu)

Word Abnormally Ends when Maximizing Program Window

If Word crashes when you maximize a previously minimized instance of the program, it is a sure sign that there is ...

Discover More

Automatically Updating Fields and Links

You can update fields and links automatically when you print your document, but what if you want them updated when you ...

Discover More

Word's Native Measurement Unit

Word allows you to specify distances using a number of different measurement units. Figuring out how those measurement ...

Discover More

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

View most recent newsletter.


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. Maximum image size is 6Mpixels. 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 six more than 8?

2014-03-10 15:35:24

Erik Maher

Thanks for the tips. This is an update for my question several years ago.

I chose to show hidden characters in Word, and what I thought was a paragraph break, because the text string split into three lines and only accepted the last "9" when I tried to paste it into Word's Find dialog box,


was actually either a (Tab), a combination of (Space) and (Tab), a combination of (Tab) and (Space), or a (Space), depending on the web browser used to snag the data, and depending on whether or not the markers were tested:







For untested genetic markers, (tab)(space) for the last untested marker

I found the best solution was:

1. To use one web browser consistently, so the data is always formatted the same way. (Firefox works best for genetic data.) Otherwise, you can search and replace all instances of (space)(tab) and (tab)(space) with (tab) to make the data consistent.

2. To stick with Notepad, which accepts hidden characters in its Find dialog box if you copy a text string containing hidden characters directly from the database and paste it into the Find dialog box. (Word's Find - More - Special can enter in those hidden characters, but using Notepad is easier.)

3. To use a free utility called Agent Ransack to search through dozens of databases at the same time. (Microsoft's built-in search tool also works, but Agent Ransack is much easier and more elegant.)



2012-12-20 21:31:11


Erik, have you tried using special characters available when finding with Word? Press Ctrl+F to open the "Find" dialog box. In the bottom left corner there is a button that says "More >>". Click on it and the dialog box will reveal several options. At the bottom there are two active buttons: "Format" and "Special". Click on the "Special" button and there you have all sorts of special characters you can search for. Choose "Any character" (or "Any digit" if you only look for digits), then click again and choose "Paragraph mark", then click again and choose "Any character" and so on until you have the sequence you want of characters and paragraph marks. Then you should be able to find the strings you want. But then again, working on such long document will take you forever. Try breaking it down into smaller documents.

2012-12-19 08:52:25



This sorta thing happens when using excel, split the document up into 1000 page documents and it will be easy to run the find and replace or upgrade your ram.

2012-11-04 19:32:40



I hope this is not too confusing.

I need to do several find-and-replace tasks on a gigantic 16008-page genealogical document. I created this document for data-mining purposes by copying data from a public database into Notepad, and then from there into Word. (The public database does not offer any way to mine data other than to look through the database line by line, which would take me forever-and-a-day to do.) Each time I try to do find-and-replace on my 16008-page Word document, Word struggles for about 20 minutes, and then tells me that the undo feature will be disabled because there is insufficient memory. As a result, a few find-and-replace tasks that should take me a few minutes are taking me an entire day. Is there any way to completely turn off Microsoft Word's undo feature, so that my find-and-replace tasks will complete more quickly?

The reason I need to do this is because, currently, I can't data-mine the 16008-page document for Y-DNA marker patterns, because Word's Find feature doesn't accept a paragraph break in its dialog box. To remedy this, I'm finding every instance where there are two paragraph breaks, and replacing each instance with a hyphen. This will enable me, for example, to search for the genealogical Y-DNA marker pattern 9-15-16-9, which Word's Find feature accepts, rather than trying to search for


which Word's Find feature does not accept. The second sequence cannot be pasted into Word's Find dialog box; when you try to do so, only the last 9 appears in the dialog box.

If it is impossible to turn off Word's undo feature, is there another solution to my dilemma; i.e., is there a way to find a string of text that includes paragraph breaks within the string?

Thank you!

- Erik.

This Site

Got a version of Word that uses the menu interface (Word 97, Word 2000, Word 2002, or Word 2003)? This site is for you! If you use a later version of Word, visit our WordTips site focusing on the ribbon interface.

Newest Tips

FREE SERVICE: Get tips like this every week in WordTips, 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.