Share via


Document.UndoClear Method (2007 System)

Clears the list of actions that can be undone for the 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.Tools.Word
Assembly:  Microsoft.Office.Tools.Word.v9.0 (in Microsoft.Office.Tools.Word.v9.0.dll)

Syntax

'Declaration
Public Sub UndoClear
'Usage
Dim instance As Document

instance.UndoClear()
public void UndoClear()
public:
void UndoClear()
public function UndoClear()

Remarks

Include this method after a method in your code to keep Word object model actions from appearing in the Undo box.

.NET Framework Security

See Also

Reference

Document Class

Document Members

Microsoft.Office.Tools.Word Namespace