Edit

Share via


Range.ClearContents Method

Definition

Clears the formulas from the range.

public:
 System::Object ^ ClearContents();
public object ClearContents ();
Public Function ClearContents () As Object

Returns

Remarks

This method clears the data from a chart but leaves the formatting.

Applies to