_Chart.SetDefaultChart(Object) Method

Definition

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

public:
 void SetDefaultChart(System::Object ^ Name);
public void SetDefaultChart (object Name);
Public Sub SetDefaultChart (Name As Object)

Parameters

Name
Object

Specifies the name of the default chart template that will be used when creating new charts. This name can be a string naming a chart in the gallery for a user-defined template or it can be a special constant xlBuiltIn to specify a built-in chart template.

Applies to