Modifica

Condividi tramite


_Application.SetDefaultChart(Object, Object) Method

Definition

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

public void SetDefaultChart (object FormatName, object Gallery);
Public Sub SetDefaultChart (Optional FormatName As Object, Optional Gallery As Object)

Parameters

FormatName
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
Object

Optional Object. Specifies the name of a gallery.

Applies to