Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

Chart.SaveChartTemplate Method

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

Version Information
 Version Added:  Excel 2007

Syntax

expression.SaveChartTemplate(Filename)

expression   A variable that represents a Chart object.

Parameters

NameRequired/OptionalData TypeDescription
FilenameRequiredStringThe 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.

Example

This example adds a new chart template based on the active chart.

Visual Basic for Applications
ActiveChart.SaveChartTemplate _
    Filename:="Presentation Chart"



Community Additions

Show:
© 2014 Microsoft