ShapeRange.AutoShapeType property (Project)

Gets or sets the shape type for the ShapeRange object, which must represent an AutoShape other than a line, freeform drawing, or connector. Read/write MsoAutoShapeType.

Syntax

expression.AutoShapeType

expression A variable that represents a 'ShapeRange' object.

Remarks

When you change the type of a shape, the shape retains its size, color, and other attributes.

Property value

MSOAUTOSHAPETYPE

See also

ShapeRange Object MsoAutoShapeType Enumeration

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.