共用方式為


Workbook.Charts Property (Excel)

Returns a Sheets collection that represents all the chart sheets in the specified workbook.

Syntax

expression .Charts

expression A variable that represents a Workbook object.

Example

This example deletes every chart sheet in the active workbook.

注意

For the following sample code to work you must have a chart sheet in the active workbook.

ActiveWorkbook.Charts.Delete

請參閱

概念

Workbook Object

Workbook Object Members