Export (0) Print
Expand All
Expand Minimize

_Application.SetDefaultChart method

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

Namespace:  Microsoft.Office.Interop.Excel
Assembly:  Microsoft.Office.Interop.Excel (in Microsoft.Office.Interop.Excel.dll)

void SetDefaultChart(
	Object FormatName,
	Object Gallery
)

Parameters

FormatName
Type: System.Object

Optional Object. Specifies the name of a custom autoformat. This name can be a string naming a custom autoformat, or it can be the special constant xlBuiltIn to specify the built-in chart template.

Gallery
Type: System.Object

Optional Object. Specifies the name of a gallery.

Community Additions

ADD
Show:
© 2014 Microsoft