_Document.UndoClear Method

Clears the list of actions that can be undone for the specified document. Corresponds to the list of items that appears when you click the arrow beside the Undo button on the Standard toolbar.

Namespace:  Microsoft.Office.Interop.Word
Assembly:  Microsoft.Office.Interop.Word (in Microsoft.Office.Interop.Word.dll)

Syntax

'Declaration
Sub UndoClear
'Usage
Dim instance As _Document

instance.UndoClear()
void UndoClear()

Remarks

Use this method to keep programmatic actions from appearing in the Undo box.

See Also

Reference

_Document Interface

_Document Members

Microsoft.Office.Interop.Word Namespace