Application.WorkbookBeforeXmlExport Event (Excel)
Occurs before Microsoft Excel saves or exports XML data from the specified workbook.
Syntax
식 .WorkbookBeforeXmlExport(Wb, Map, Url, Cancel)
식 A variable that represents an Application object.
Parameters
Name |
Required/Optional |
Data Type |
Description |
---|---|---|---|
Wb |
필수 |
The target workbook. |
|
Map |
필수 |
The XML map that will be used to save or export data. |
|
Url |
필수 |
String |
The location of the XML file to be exported. |
Cancel |
필수 |
Boolean |
Set 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.