This documentation is archived and is not being maintained.

_Chart.SaveChartTemplate Method

Saves a custom chart template to the list of available chart templates.

Namespace:  Microsoft.Office.Interop.Excel
Assembly:  Microsoft.Office.Interop.Excel (in Microsoft.Office.Interop.Excel.dll)

void SaveChartTemplate(
	string Filename


Type: System.String

The name of the chart template.

By default, this method saves the active chart to the user's chart template directory. If a UNC or URL is specified, the chart will be saved to the specified location instead.