Partager via


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.

See Also

Concepts

XmlMap Object

XmlMap Object Members