_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)
Syntax
'Declaration
Sub SaveChartTemplate ( _
Filename As String _
)
'Usage
Dim instance As _Chart
Dim Filename As String
instance.SaveChartTemplate(Filename)
void SaveChartTemplate(
string Filename
)
Parameters
Filename
Type: System.StringThe name of the chart template.
Remarks
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.