This documentation is archived and is not being maintained.

AppEvents_WorkbookAfterXmlExportEventHandler Delegate 

A Delegate type used to add an event handler for the WorkbookAfterXmlExport event. The WorkbookAfterXmlExport event occurs after Microsoft Excel saves or exports data from any open workbook to an XML data file.

Namespace: Microsoft.Office.Interop.Excel
Assembly: Microsoft.Office.Interop.Excel (in

Sub Sub1(Wb As Workbook, _
	Map As XmlMap, _
	Url As String, _
	Result As XlXmlExportResult)
End Sub
Dim appEvents_WorkbookAfterXmlExportEventHandler1 As New AppEvents_WorkbookAfterXmlExportEventHandler(AddressOf Sub1)

public delegate void AppEvents_WorkbookAfterXmlExportEventHandler(
	[In] Workbook Wb, 
	[In] XmlMap Map, 
	[In] string Url, 
	[In] XlXmlExportResult Result
public delegate void AppEvents_WorkbookAfterXmlExportEventHandler(
	/*in*/Workbook Wb, 
	/*in*/XmlMap Map, 
	/*in*/System.String Url, 
	/*in*/XlXmlExportResult Result
In JScript, you can use the delegates in the .NET Framework, but you cannot define your own.



Required Workbook. The target workbook.


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


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


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

Development Platforms

Windows XP Home Edition, Windows XP Professional, Windows Server 2003, and Windows 2000

Target Platforms