Application.GetUndoListItem Method

Project Developer Reference

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.

Visual Basic for Applications
  GetUndoListItem(1)

See Also