XmlMap.Delete method (Excel)

Removes the specified XML map from the workbook.



expression A variable that represents an XmlMap object.


Deleting the XML map converts all the XML lists to generic lists and removes all the single-cell mappings (with the data still remaining). In addition, the XmlMap object is removed from the XmlMaps collection.

The map and schema information is removed from the workbook (it will no longer be persisted in the XLS file and XMLSS). Any references to the deleted object become invalid.

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.