DeleteChartAutoFormat Method

Microsoft Graph Visual Basic

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."

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