Skip to content

Latest commit

 

History

History
40 lines (24 loc) · 1.08 KB

Excel.XmlMaps.Add.md

File metadata and controls

40 lines (24 loc) · 1.08 KB
title keywords f1_keywords api_name ms.assetid ms.date ms.localizationpriority
XmlMaps.Add method (Excel)
vbaxl10.chm756073
vbaxl10.chm756073
Excel.XmlMaps.Add
0197c932-73bf-024e-35b1-aba984175aee
05/21/2019
medium

XmlMaps.Add method (Excel)

Adds an XML map to the specified workbook.

Syntax

expression.Add (Schema, RootElementName)

expression An expression that returns an XmlMaps object.

Parameters

Name Required/Optional Data type Description
Schema Required String The schema to be added as an XML map. The string can be a path to a schema file, or the schema itself. The path can be specified in the Universal Naming Convention (UNC) or Uniform Resource Locator (URL) format.
RootElementName Optional Variant The name of the root element. This argument can be ignored if the schema contains only one root element.

Return value

An XmlMap object that represents the new XML map.

[!includeSupport and feedback]