AfterXmlExport Event

Microsoft Excel Visual Basic

Show All Show All

AfterXmlExport 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 after Microsoft Excel saves or exports data from the specified workbook to an XML data file.

expression.AfterXmlExport(Map, Url, Result)

expression    Required. An expression that returns a Workbook object.

Map    Required XmlMap object. The schema map that was used to save or export data.

Url    Required String. The location of the XML file that was exported.

Result    Required XlXmlExportResult. Indicates the results of the save or export operation.

XlXmlExportResult can be one of the following XlXmlExportResult constants:
xlXmlExportSuccess The XML data file was successfully exported.
xlXmlExportValidationFailed The contents of the XML data file do not match the specified schema map.