Skip to content

Latest commit

 

History

History
41 lines (25 loc) · 958 Bytes

Visio.Document.RenameCurrentScope.md

File metadata and controls

41 lines (25 loc) · 958 Bytes
title keywords f1_keywords api_name ms.assetid ms.date ms.localizationpriority
Document.RenameCurrentScope method (Visio)
vis_sdr.chm10550185
vis_sdr.chm10550185
Visio.Document.RenameCurrentScope
08aff947-e876-29b8-e910-e2a3b42e5d0e
06/08/2017
medium

Document.RenameCurrentScope method (Visio)

Renames the top-level open undo scope.

Syntax

expression.RenameCurrentScope (bstrScopeName)

expression A variable that represents a Document 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.

[!includeSupport and feedback]