Application.WorkbookBeforeXmlExport event (Excel)
Occurs before Microsoft Excel saves or exports XML data from the specified workbook.
expression.WorkbookBeforeXmlExport (Wb, Map, Url, Cancel)
expression A variable that represents an Application object.
|Wb||Required||Workbook||The target workbook.|
|Map||Required||XmlMap||The XML map that will be used to save or export data.|
|Url||Required||String||The location of the XML file to be exported.|
|Cancel||Required||Boolean||Set to True to cancel the save or export operation.|
Use the BeforeXmlExport event of the Workbook object if you want to capture XML data that is being exported or saved from a particular workbook.
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.