XmlMap.Export method (Excel)
Exports the contents of cells mapped to the specified XmlMap object to an XML data file.
Syntax
expression.Export (Url, Overwrite)
expression An expression that returns an XmlMap object.
Parameters
Name | Required/Optional | Data type | Description |
---|---|---|---|
Url | Required | String | The path and file name of the XML data file to export to. |
Overwrite | Optional | Variant | Set to True to overwrite the file specified in the Url parameter if the file exists. The default value is False. |
Return value
An XlXmlExportResult value that indicates the result of the method.
Remarks
Use the ExportXml method to export the contents of the mapped cells to a String variable.
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.