_Application.SetDefaultChart(Object, Object) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.