XmlMap Object (Excel)

Office 2013 and later

Contribute to this content

Use GitHub to suggest and submit changes. See our guidelines for contributing to VBA documentation.

Represents an XML map that has been added to a workbook.

Use the Add method of the XmlMaps collection to add an XML map to a workbook.

Importing and exporting XML data

Use the Import method to import XML data from an XML data file into cells mapped to the specified XmlMap. The ImportXml method imports XML data for a String variable.

Use the Export method to export data from cells mapped to the specified XmlMap. The ExportXml method exports XML data to a String variable.