Application.GetUndoListItem method (Project)

Returns the label of the specified undo list item.

Syntax

expression. GetUndoListItem( _ItemIndex_ )

expression A variable that represents an Application object.

Parameters

Name Required/Optional Data type Description
ItemIndex Required Long Index of the item in the undo list .

Return value

String

Example

The following example returns the label of the first item in the undo list.

GetUndoListItem(1)

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.