RenameCurrentScope method
Renames the top-level open undo scope.
Version added
2002
Syntax
| |
object |
Required. An expression that returns an Application object that contains the undo scope. |
bstrScopeName |
Required String. The new name of the undo scope. |
Remarks
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.