Share via


Workbook.BeforeXmlExport Event (Excel)

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

Syntax

expression .BeforeXmlExport(Map, Url, Cancel)

expression A variable that represents a Workbook object.

Parameters

Name

Required/Optional

Data Type

Description

Map

Required

XmlMap

The XML map that will be used to save or export data.

Url

Required

String

The location where you want to export the resulting XML file.

Cancel

Required

Boolean

Set to True to cancel the save or export operation

Return Value

Nothing

Remarks

This event will not occur when you are saving to the XML Spreadsheet file format.