Skip to content

Latest commit

 

History

History
52 lines (31 loc) · 1.58 KB

Excel.Application.WorkbookAfterXmlExport.md

File metadata and controls

52 lines (31 loc) · 1.58 KB
title keywords f1_keywords api_name ms.assetid ms.date ms.localizationpriority
Application.WorkbookAfterXmlExport event (Excel)
vbaxl10.chm504101
vbaxl10.chm504101
Excel.Application.WorkbookAfterXmlExport
9d542c67-4244-d018-4db6-3584f0caec7c
04/05/2019
medium

Application.WorkbookAfterXmlExport event (Excel)

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

Syntax

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

expression A variable that represents an Application object.

Parameters

Name Required/Optional Data type Description
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.
Result Required XlXmlExportResult Indicates the results of the save or export operation.

Return value

Nothing

Remarks

XlXmlExportResult can be one of the following constants:

  • xlXmlExportSuccess. The XML data file was successfully exported.
  • xlXmlExportValidationFailed. The contents of the XML data file don't match the specified schema map.

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

[!includeSupport and feedback]