Chart.SetDefaultChart method (Project)

Specifies the name of the default chart template that Project uses when creating new charts.

Syntax

expression. SetDefaultChart (varName)

expression A variable that represents a Chart object.

Parameters

Name Required/Optional Data type Description
varName Required Variant The name of the chart template. The name can be a string for the name of a chart in the gallery or a user-defined template, or the name can be a constant for a built-in chart template.
varName Required Variant

Return value

Nothing

See also

Chart Object SaveChartTemplate Method

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.