Skip to main content

Workbook.BeforeXmlExport event

Occurs before Microsoft Excel saves or exports XML data from the specified workbook.

Syntax

expression.BeforeXmlExport (MapUrlCancel)

expression A variable that represents a Workbook object.

Parameters

Name Required/Optional Data type Description
Map Required XmlMap The XML map that is used to save or export data.
Url Required String The location where you want to export the resulting XML file.
Cancel Required Boolean Set to True to cancel the save or export operation.

Return value

Nothing

Remarks

This event does not occur when you are saving to the XML Spreadsheet file format.

Leave a comment

Your email address will not be published. Required fields are marked *

Format your code: <pre><code class="language-vba">place your code here</code></pre>