Application.RenameCurrentScope method (Visio)
Renames the top-level open undo scope.
Syntax
expression.RenameCurrentScope (bstrScopeName)
expression A variable that represents an Application object.
Parameters
Name | Required/Optional | Data type | Description |
---|---|---|---|
bstrScopeName | Required | String | The new name of the undo scope. |
Return value
Nothing
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.
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.