This topic has not yet been rated - Rate this topic

Application.RenameCurrentScope Method (Visio)

Renames the top-level open undo scope.

Version Information

Version Added: Visio 2002

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.

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.