Application.PurgeUndo Method (Visio)

Empties the Microsoft Visio queue of undo actions.

Version Added: Visio 5.0

expression .PurgeUndo

expression A variable that represents an Application object.

Return Value


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

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

Public Sub PurgeUndo_Example() 
End Sub