Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

Shape.HasChart Property

Office 2007
True if the specified shape has a chart. Read-only.

Syntax

expression.HasChart

expression   An expression that returns a Shape object.

Remarks

This property always returns false for OLE charts. For OLE charts, use InlineShape.OLEFormat.ProgID and check for the following possible values: "Excel.Chart.8", "MSGraph.Chart.8", "Excel.Sheet.8", "Excel.Chart.5", "MSGraph.Chart.5", or "Excel.Sheet.5".




Community Additions

Show:
© 2015 Microsoft