Share via


Application.WorkbookAfterXmlExport Event (Excel)

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

Syntax

.WorkbookAfterXmlExport(Wb, Map, Url, Result)

A variable that represents an Application object.

Parameters

Name

Required/Optional

Data Type

Description

Wb

필수

Workbook

The target workbook.

Map

필수

XmlMap

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

Url

필수

String

The location of the XML file that was exported.

Result

필수

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.

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

참고 항목

개념

Workbook Object

Workbook Object Members

Application Object

Application Object Members