Rediger

Del via


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

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.