This documentation is archived and is not being maintained.

Application.WorkbookBeforeXmlExport Event

Office 2007
Occurs before Microsoft Excel saves or exports XML data from the specified workbook.

Syntax

expression.WorkbookBeforeXmlExport(Wb, Map, Url, Cancel)

expression   A variable that represents an Application object.

Parameters

NameRequired/OptionalData TypeDescription
WbRequiredWorkbookThe target workbook.
MapRequiredXmlMapThe XML map that will be used to save or export data.
UrlRequiredStringThe location of the XML file to be exported.
CancelRequiredBooleanSet to True to cancel the save or export operation.

Return Value
Nothing

Remarks

Use the BeforeXmlExport event if you want to capture XML data that is being exported or saved from a particular workbook.




Show: