Name

xmlmap.Delete

Synopsis

Deletes an XML map from a workbook. If a list or range uses the XML map, deleting the map removes the link to the data source, but does not remove the data displayed in the list or range. The following code deletes the XML map named Numbers_Map:

ThisWorkbook.XmlMaps("Numbers_Map").Delete

Get Programming Excel with VBA and .NET now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.