WD: How to Clear the Undo Stack |
Q118987
This article contains several methods for clearing the Undo stack in Word.
By design, you cannot turn off the Undo or Redo commands, nor can you
change the maximum number of actions Word stores in the Undo or Redo stacks
(up to approximately 100 or the total number of actions in one document).
NOTE: If you are experiencing out-of-memory or slow-performance problems,
be sure to rule out other Word or system operations as the cause.
To clear the Undo and Redo stacks in Word, use any of the following
methods.
http://www.microsoft.com/partner/referral/For more information about the support options available from Microsoft, please see the following page on the World Wide Web:
http://support.microsoft.com/directory/overview.aspThe following sample WordBasic macro clears the Undo and Redo lists, by selecting and then clearing the Mark Revisions While Editing option, (see "Method 2" earlier in this article).
Sub Main
Dim Dlg As ToolsRevisions
GetCurValues Dlg
ToolsRevisions .MarkRevisions = Abs(Dlg.MarkRevisions - 1)
ToolsRevisions .MarkRevisions = Dlg.MarkRevisions
End Sub
"Microsoft Word User's Guide," version 6.0, pages 14-15, 39, 40
Additional query words: slow slows uses up depleted depletes exhausted exhausts low memory oom insufficient enough out nukes nuked erase erases deletes delete remove removes vb vba vbe
Keywords : kbmacroexample macword word6 word7 kbformat
Issue type : kbhowto
Technology : kbHWMAC kbOSMAC kbWordSearch kbWordMacSearch kbWord700Search kbZNotKeyword2 kbWord600Mac kbWord601Mac kbWord600 kbWord600a kbWord700 kbWord700a
|
Last Reviewed: December 30, 2000 © 2001 Microsoft Corporation. All rights reserved. Terms of Use. |