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

AppEvents_Event.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)

WithEvents appEvents_Event1 As AppEvents_Event
Function appEvents_Event1_WorkbookAfterXmlImport(Wb As Workbook, _
	Map As XmlMap, _
	IsRefresh As Boolean, _
	Result As XlXmlImportResult) As Void
	Handles appEvents_Event1.WorkbookAfterXmlImport
End Function

Event WorkbookAfterXmlImport As AppEvents_WorkbookAfterXmlImportEventHandler
 void add_WorkbookAfterXmlImport(AppEvents_WorkbookAfterXmlImportEventHandler handler);
 void remove_WorkbookAfterXmlImport(AppEvents_WorkbookAfterXmlImportEventHandler handler);
In JScript, you can handle the events defined by a class, but you cannot define your own.

Use the AfterXmlImport event if you want to perform an operation after XML data has been imported into a particular workbook.

XML features, except for saving files in the XML Spreadsheet format, are available only in Microsoft Office Professional Edition 2003 and Microsoft Office Excel 2003.

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.