Skip to main content

Workbook.AfterXmlImport event

Occurs after an existing XML data connection is refreshed or after new XML data is imported into the specified Microsoft Excel workbook.

Syntax

expression.AfterXmlImport (MapIsRefreshResult)

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 import data.
IsRefresh Required Boolean True if the event was triggered by refreshing an existing connection to XML data; False if the event was triggered by importing from a different data source.
Result Required XlXmlImportResult Indicates the results of the refresh or import operation.

Return value

Nothing

Leave a comment

Your email address will not be published. Required fields are marked *

Format your code: <pre><code class="language-vba">place your code here</code></pre>