Partager via


_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

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.

See Also

Reference

_Chart Interface

_Chart Members

Microsoft.Office.Interop.Excel Namespace