DeleteChartAutoFormat Method

Applies To

Application Object.

Description

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

Syntax

object.DeleteChartAutoFormat(name)

object

Required. The Application object.

name

Required. Specifies the name of the custom autoformat to remove.

See Also

AddChartAutoFormat Method, SetDefaultChart Method.

Example

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


Application.DeleteChartAutoFormat name:="Presentation Chart"