Skip to content

Latest commit

 

History

History
53 lines (30 loc) · 1.11 KB

Visio.Document.OpenStencilWindow.md

File metadata and controls

53 lines (30 loc) · 1.11 KB
title keywords f1_keywords api_name ms.assetid ms.date ms.localizationpriority
Document.OpenStencilWindow method (Visio)
vis_sdr.chm10516420
vis_sdr.chm10516420
Visio.Document.OpenStencilWindow
70c3720b-b88d-4859-684b-5c7ae9c868ea
06/08/2017
medium

Document.OpenStencilWindow method (Visio)

Opens a stencil window that shows the masters in the document.

Syntax

expression.OpenStencilWindow

expression A variable that represents a Document object.

Return value

Window

Remarks

If the document's stencil is already displayed in a stencil window, the OpenStencilWindow method activates that window rather than opening another window.

Example

This Microsoft Visual Basic for Applications (VBA) macro shows how to use the OpenStencilWindow method to open the Document Stencil window.

 
Public Sub OpenStencilWindow_Example() 
 
 Dim vsoStencilWindow as Visio.Window 
 
 'Open the Document Stencil window. 
 Set vsoStencilWindow = ThisDocument.OpenStencilWindow 
 
End Sub

[!includeSupport and feedback]