Range.ClearContents Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.