Workbook.BeforeXmlExport event (Excel)

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

Syntax

expression.BeforeXmlExport (Map, Url, Cancel)

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.

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.