Compartilhar via


ChartArea.ClearContents Method

Clears the data from a chart but leaves the formatting.

Namespace:  Microsoft.Office.Interop.Excel
Assembly:  Microsoft.Office.Interop.Excel (in Microsoft.Office.Interop.Excel.dll)

Syntax

'Declaration
Function ClearContents As Object
'Usage
Dim instance As ChartArea
Dim returnValue As Object

returnValue = instance.ClearContents()
Object ClearContents()

Return Value

Type: System.Object

See Also

Reference

ChartArea Interface

ChartArea Members

Microsoft.Office.Interop.Excel Namespace