Szerkesztés

Megosztás a következőn keresztül:


Document.PurgeUndo method (Visio)

Empties the Microsoft Visio queue of undo actions.

Syntax

expression.PurgeUndo

expression A variable that represents a Document 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 purge 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.