title | keywords | f1_keywords | api_name | ms.assetid | ms.date | ms.localizationpriority | ||
---|---|---|---|---|---|---|---|---|
Chart.SaveChartTemplate method (Excel) |
vbaxl10.chm149181 |
|
|
d9e36023-b5bb-aaf4-5b34-9a22df468ced |
04/16/2019 |
medium |
Saves a custom chart template to the list of available chart templates.
expression.SaveChartTemplate (FileName)
expression A variable that represents a Chart object.
Name | Required/Optional | Data type | Description |
---|---|---|---|
FileName | Required | 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.
This example adds a new chart template based on the active chart.
ActiveChart.SaveChartTemplate _
Filename:="Presentation Chart"
[!includeSupport and feedback]