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)

Syntax

'Declaration
Event WorkbookBeforeXmlExport As AppEvents_WorkbookBeforeXmlExportEventHandler
'Usage
Dim instance As AppEvents_Event
Dim handler As AppEvents_WorkbookBeforeXmlExportEventHandler

AddHandler instance.WorkbookBeforeXmlExport, handler
event AppEvents_WorkbookBeforeXmlExportEventHandler WorkbookBeforeXmlExport

Remarks

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.

See Also

Reference

AppEvents_Event Interface

AppEvents_Event Members

Microsoft.Office.Interop.Excel Namespace