DeleteChartAutoFormat Method [Excel 2003 VBA Language Reference]

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

expression**.DeleteChartAutoFormat(Name)**

expression Required. An expression that returns an Application object.

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

Example

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

Application.DeleteChartAutoFormat name:="Presentation Chart"

Applies to | Application Object

See Also | AddChartAutoFormat Method | SetDefaultChart Method