OpenSheetWindow Method [Visio 2003 SDK Documentation]
Opens a ShapeSheet window for a Shape object.
objRet = object**.OpenSheetWindow**
objRet A Window object that represents the opened window.
object Required. An expression that returns a Shape object.
Version added
4.1
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
Applies to | Shape object
See Also | OpenDrawWindow method | OpenIconWindow method | OpenStencilWindow method