共用方式為


Shape.HasSmartArt Property (Excel)

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

Version Information

Version Added: Excel 2010

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).

請參閱

概念

Shape Object

Shape Object Members