Chart.ChartType property (Word)

Returns or sets the chart type. Read/write XlChartType.



expression A variable that represents a Chart object.


Some chart types are not available for PivotChart reports.


The following example sets the bubble size in chart group one to 200% of the default size if the chart is a 2D bubble chart.

With ActiveDocument.InlineShapes(1).Chart 
 If .ChartType = xlBubble Then 
 .ChartGroups(1).BubbleScale = 200 
 End If 
End With

See also

Chart Object

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.