Shape.HasSmartArt property (Excel)

Returns whether there is a SmartArt diagram present on the specified shape. Read-only.

Syntax

expression.HasSmartArt

expression A variable that represents a Shape object.

Return value

MsoTriState

Remarks

msoTrue (-1) if there is a SmartArt diagram present on the shape; otherwise, msoFalse (0).

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.