共用方式為


Chart.ApplyChartTemplate Method (Excel)

Applies a standard or custom chart type to a chart.

Version Information

Version Added: Excel 2007

Syntax

expression .ApplyChartTemplate(Filename)

expression A variable that represents a Chart object.

Parameters

Name

Required/Optional

Data Type

Description

Filename

Required

String

The file name for a chart template.

Remarks

This method does not support taking constants for native or combination charts.

請參閱

概念

Chart Object

Chart Object Members