Export (0) Print
Expand All
Expand Minimize
This topic has not yet been rated - Rate this topic

AppEvents_WorkbookAfterXmlImportEventHandler Delegate 

A Delegate type used to add an event handler for the WorkbookAfterXmlImport event. The WorkbookAfterXmlImport event occurs after an existing XML data connection is refreshed, or new XML data is imported into any open Microsoft Excel workbook.

Namespace: Microsoft.Office.Interop.Excel
Assembly: Microsoft.Office.Interop.Excel (in microsoft.office.interop.excel.dll)

Sub Sub1(Wb As Workbook, _
	Map As XmlMap, _
	IsRefresh As Boolean, _
	Result As XlXmlImportResult)
End Sub
Dim appEvents_WorkbookAfterXmlImportEventHandler1 As New AppEvents_WorkbookAfterXmlImportEventHandler(AddressOf Sub1)

public delegate void AppEvents_WorkbookAfterXmlImportEventHandler(
	[In] Workbook Wb, 
	[In] XmlMap Map, 
	[In] bool IsRefresh, 
	[In] XlXmlImportResult Result
public delegate void AppEvents_WorkbookAfterXmlImportEventHandler(
	/*in*/Workbook Wb, 
	/*in*/XmlMap Map, 
	/*in*/boolean IsRefresh, 
	/*in*/XlXmlImportResult 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 import data.


Required Boolean. True if the event was triggered by refreshing an existing connection to XML data, False if a new mapping was created.


Required XlXmlImportResult. Indicates the results of the refresh or import operation.

Development Platforms

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

Target Platforms

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

© 2014 Microsoft. All rights reserved.