Skip to main content

Workbook.Charts property

Table of contents
  1. Syntax
  2. Example

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

Leave a comment

Your email address will not be published. Required fields are marked *

Format your code: <pre><code class="language-vba">place your code here</code></pre>