Compartir a través de


Método Shape.OpenSheetWindow (Visio)

Abre una ventana ShapeSheet para un objeto Shape.

Sintaxis

expresión. OpenSheetWindow

expresión Variable que representa un objeto Shape.

Valor devuelto

Window

Observaciones

El método OpenSheetWindow abre una nueva ventana ShapeSheet para la forma aunque la información ya se esté mostrando en otra ventana.

Ejemplo

Esta macro de Microsoft Visual Basic para Aplicaciones (VBA) muestra cómo utilizar el método OpenSheetWindow para abrir la ventana ShapeSheet de un objeto Shape.

 
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

Soporte técnico y comentarios

¿Tiene preguntas o comentarios sobre VBA para Office o esta documentación? Vea Soporte técnico y comentarios sobre VBA para Office para obtener ayuda sobre las formas en las que puede recibir soporte técnico y enviar comentarios.