XmlMaps object (Excel)

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 = "https://example.microsoft.com/schemas/CustomerData.xsd" 
 ActiveWorkbook.XmlMaps.Add strSchemaLocation, "Root" 
End Sub



See also

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.