Notitie
Voor toegang tot deze pagina is autorisatie vereist. U kunt proberen u aan te melden of de directory te wijzigen.
Voor toegang tot deze pagina is autorisatie vereist. U kunt proberen de mappen te wijzigen.
Returns or sets the shape style for the specified shape. Read/write MsoShapeStyleIndex.
Syntax
expression.ShapeStyle
expression A variable that represents a Shape object.
Example
The following code example changes the shape style for the first shape in the active document.
Dim myShape As Shape
Set myShape = ActiveDocument.Shapes(1)
myShape.ShapeStyle = msoLineStylePreset12
See also
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.