BeforeXmlExport Event

Microsoft Excel Visual Basic

BeforeXmlExport Event

Note  XML features, except for saving files in the XML Spreadsheet format, are available only in Microsoft Office Professional Edition 2003 and Microsoft Office Excel 2003.

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

expression.BeforeXmlExport(Map, Url, Cancel)

expression    Required. An expression that returns a Workbook object.

Map    Required XmlMap. The XML map that will be 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.

Remarks

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