Window.AllowEditing property (Visio)

Determines whether the Edit Stencil command is enabled or disabled in a stencil window. Read/write.

Syntax

expression. AllowEditing

expression A variable that represents a Window object.

Return value

Boolean

Remarks

Use the AllowEditing property to prevent unintentional editing in stencils. Setting the value of this property for stencils that are already open for editing has no effect. This property has no effect on Visio stencils (stencils that are shipped on the Microsoft Visio CD) or on other stencils that have been published to Visio by using an .msi file.

Note

Only user-created stencils are editable. By default, Visio stencils are not editable.

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.