AddChartAutoFormat Method

Microsoft Graph Visual Basic

AddChartAutoFormat Method

       

Adds a custom chart autoformat to the list of available chart autoformats.

expression.AddChartAutoFormat(Name, Description)

expression   Required. An expression that returns an Application object.

Name   Required String. The name of the autoformat.

Description   Optional String. A description of the custom autoformat.

Example

This example adds a new autoformat.

myChart.Application.AddChartAutoFormat _
    Name:="Presentation Chart"