ChartSheet.SaveChartTemplate Method (2007 System)

Saves the chart on the ChartSheet as a custom template in the list of available chart templates.

Namespace:  Microsoft.Office.Tools.Excel
Assembly:  Microsoft.Office.Tools.Excel.v9.0 (in Microsoft.Office.Tools.Excel.v9.0.dll)

Syntax

'Declaration
Public Sub SaveChartTemplate ( _
    Filename As String _
)
'Usage
Dim instance As ChartSheet 
Dim Filename As String

instance.SaveChartTemplate(Filename)
public void SaveChartTemplate(
    string Filename
)
public:
void SaveChartTemplate(
    String^ Filename
)
public function SaveChartTemplate(
    Filename : String
)

Parameters

  • Filename
    Type: System.String

    The name of the new chart template.

Remarks

By default, this method saves the current 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.

.NET Framework Security

See Also

Reference

ChartSheet Class

ChartSheet Members

Microsoft.Office.Tools.Excel Namespace