InvisibleApp.PurgeUndo method (Visio)

Empties the Microsoft Visio queue of undo actions.

Syntax

expression. PurgeUndo

expression A variable that represents an InvisibleApp object.

Return value

Nothing

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 clear the undo list.

 
Public Sub PurgeUndo_Example() 
 
 Application.PurgeUndo 
 
End Sub

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.