ChartSheet.SetDefaultChart Method (2007 System)

Specifies the name of the chart template that Microsoft Office Excel uses when creating new charts.

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

Syntax

'Declaration
Public Sub SetDefaultChart ( _
    Name As Object _
)
'Usage
Dim instance As ChartSheet 
Dim Name As Object

instance.SetDefaultChart(Name)
public void SetDefaultChart(
    Object Name
)
public:
void SetDefaultChart(
    Object^ Name
)
public function SetDefaultChart(
    Name : Object
)

Parameters

  • Name
    Type: System.Object

    A string that indicates the name of the default chart template that will be used when creating new charts. This name can identify a chart in the gallery for a user-defined template, or it can be one of the XlChartType values that specifies a built-in chart template.

.NET Framework Security

See Also

Reference

ChartSheet Class

ChartSheet Members

Microsoft.Office.Tools.Excel Namespace