Application.RenameCurrentScope Method (Visio)
Renames the top-level open undo scope.
Version Added: Visio 2002
A variable that represents an Application object.
The new name of the undo scope.
The new name assigned to the undo scope appears on the Undo menu as the item name. If there is no open undo scope, the RenameCurrentScope method raises an exception.