Skip to main content

XmlMaps object

Table of contents
  1. Example

Represents the collection of XmlMap objects that have been added to a workbook.


Use the Add method to add an XML map to a workbook.

Sub AddXmlMap()
    Dim strSchemaLocation As String
    strSchemaLocation = ""
    ActiveWorkbook.XmlMaps.Add strSchemaLocation, "Root"
End Sub

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>