Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

Clear Method

 

Deletes every chart in the chart workspace and resets all the formatting to the default values.

expression.Clear

expression   An expression that returns a ChartSpace object.

Deletes all formatting and data from the specified range.

expression.Clear

expression   An expression that returns a  Range object.

Example

This example deletes all charts in the specified chart workspace.

ChartSpace1.Clear

This example clears the range B2:C4 on the active worksheet in Spreadsheet1.

Spreadsheet1.ActiveSheet.Range("B2:C4").Clear 

 

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.