Application.OnUndoOrRedo event (Project)

Occurs when a transaction is undone or redone.

Syntax

expression. OnUndoOrRedo( _bstrLabel_, _bstrGUID_, _fUndo_ )

expression A variable that represents an Application object.

Parameters

Name Required/Optional Data type Description
bstrLabel Required String Label of the transaction just undone or redone.
bstrGUID Required String GUID of the transaction or NULL.
fUndo Required Boolean True if the transaction was undone or False if it was redone.

Return value

Nothing

Remarks

Use the OnUndoOrRedo event to manage undo or redo actions that are specified by the global OpenUndoTransaction and CloseUndoTransaction methods.

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.