WorkbookAfterXmlExport Event [Excel 2003 VBA Language Reference]

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 XML data from the specified workbook.

expression**.WorkbookAfterXmlExport(Wb**, Map, Url, Result)

expression Required. An expression that returns an Application object.

Wb   Required Workbook. The target workbook.

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

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

XlXmlExportResult

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.

Remarks

Use the AfterXmlExport event if you want to perform an operation after XML data has been exported from a particular workbook.

Applies to | Application Object