Chart.ApplyChartTemplate method (Excel)

Applies a standard or custom chart type to a chart.

Syntax

expression.ApplyChartTemplate (FileName)

expression A variable that represents a Chart object.

Parameters

Name Required/Optional Data type Description
FileName Required String The file name for a chart template.

Remarks

This method does not support taking constants for native or combination charts.

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.