AppEvents_Event.WorkbookBeforeXmlExport Event

Occurs before 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 Microsoft.Office.Interop.Excel.dll)

event AppEvents_WorkbookBeforeXmlExportEventHandler WorkbookBeforeXmlExport

Use the BeforeXmlExport event if you want to capture XML data that is being exported or saved from 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.