Applies To
Application Object.
Description
Adds a custom chart autoformat to the list of available chart autoformats.
Syntax
object.AddChartAutoFormat(chart, name, description)
object
Required. The Application object.
chart
Required. A Chart object that contains the format that will be applied when the new chart autoformat is applied.
name
Required. A string that represents the name of the autoformat.
description
Optional. A string that describes the custom autoformat.
See Also
DeleteChartAutoFormat Method, SetDefaultChart Method.
Example
This example adds a new autoformat based on Chart1.
Application.AddChartAutoFormat _ chart:=Charts("Chart1"), name:="Presentation Chart"