Share via


PurgeUndo Method [Visio 2003 SDK Documentation]

Empties the Microsoft Office Visio queue of undo actions.

object**.PurgeUndo**

object     Required. An expression that returns an Application object.

Version added

5.0

Remarks

After calling the PurgeUndo method, no operation performed before the call can be reversed.

Example

This Microsoft Visual Basic for Applications (VBA) macro shows how to use the PurgeUndo method to purge the undo list.

Public Sub PurgeUndo_Example() 

    Application.PurgeUndo 

End Sub  

    

Applies to | Application object | Document object | InvisibleApp object

See Also | Redo method | Undo method