Skip to content
This repository has been archived by the owner on Nov 16, 2023. It is now read-only.

Latest commit

 

History

History
57 lines (32 loc) · 1.07 KB

shape-opensheetwindow-method-visio.md

File metadata and controls

57 lines (32 loc) · 1.07 KB
title keywords f1_keywords ms.prod api_name ms.assetid ms.date
Shape.OpenSheetWindow Method (Visio)
vis_sdr.chm11216415
vis_sdr.chm11216415
visio
Visio.Shape.OpenSheetWindow
744b72f5-381a-48fc-407f-20ffe815c54e
06/08/2017

Shape.OpenSheetWindow Method (Visio)

Opens a ShapeSheet window for a Shape object.

Syntax

expression . OpenSheetWindow

expression A variable that represents a Shape object.

Return Value

Window

Remarks

The OpenSheetWindow method opens a new ShapeSheet window for the shape even if the information is already displayed in another window.

Example

This Microsoft Visual Basic for Applications (VBA) macro shows how to use the OpenSheetWindow method to open the ShapeSheet window of a Shape object.

 
Public Sub OpenSheetWindow_Example() 
 
 Dim vsoShape As Visio.Shape 
 Dim vsoSheetWindow As Visio.Window 
 
 'Draw a shape. 
 Set vsoShape = ActivePage.DrawRectangle(1, 1, 2, 3) 
 
 'Open the ShapeSheet window of vsoShape. 
 Set vsoSheetWindow = vsoShape.OpenSheetWindow 
 
End Sub