Compartilhar via


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)

Syntax

'Declaration
Event WorkbookAfterXmlImport As AppEvents_WorkbookAfterXmlImportEventHandler
'Usage
Dim instance As AppEvents_Event
Dim handler As AppEvents_WorkbookAfterXmlImportEventHandler

AddHandler instance.WorkbookAfterXmlImport, handler
event AppEvents_WorkbookAfterXmlImportEventHandler WorkbookAfterXmlImport

Remarks

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.

See Also

Reference

AppEvents_Event Interface

AppEvents_Event Members

Microsoft.Office.Interop.Excel Namespace