Share via


Chart.ApplyChartTemplate Method

Excel Developer Reference

Applies a standard or custom chart type to a chart.

Version Information
 Version Added:  Excel 2007

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.

See Also