DeleteChartAutoFormat Method

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

expression. DeleteChartAutoFormat( _Name_)

expression Required. An expression that returns an [Application](Excel.Application(Graph property).md) object.

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

Example

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

myChart.Application.DeleteChartAutoFormat _ 
 name:="Presentation Chart"