Workbook.AfterXmlExport Event (Excel)

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

Syntax

expression .AfterXmlExport(Map, Url, Result)

expression A variable that represents a Workbook object.

Parameters

Name

Required/Optional

Data Type

Description

Map

Required

XmlMap

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.

Return Value

Nothing

Remarks

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.