DeleteChartAutoFormat Method

Applies To

Application object.

Description

Removes a custom chart autoformat from the list of available chart autoformats.

Syntax

expression.DeleteChartAutoFormat(Name)

expression Required. An expression that returns an Application object.

Name Required String. The name of the custom autoformat to be removed.

See Also

AddChartAutoFormat method, SetDefaultChart method.

Example

This example deletes the custom autoformat named "Presentation Chart."

Application.DeleteChartAutoFormat name:="Presentation Chart"