Export (0) Print
Expand All

Application.RenameCurrentScope Method (Visio)

Renames the top-level open undo scope.

Version Added: Visio 2002

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

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.

Show:
© 2014 Microsoft