Syntax

expression.Clear

expression A variable that represents a XPath object.

Remarks

Clear affects the entire range mapped to this object.

This method does not clear the data from the cells mapped to the specified XPath. Use the method of the object to clear the data from the cells.

If the specified XPath is mapped in an XML list, then the schema mapping is removed, but the list is not deleted from the worksheet.

If the mapped range is a single-cell then the single-cell is removed and the data remains.

This method will produce an error if any of the following conditions are true:


See also: