共用方式為


XmlMaps Object (Excel)

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

Example

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

Sub AddXmlMap() 
 Dim strSchemaLocation As String 
 
 strSchemaLocation = "http://example.microsoft.com/schemas/CustomerData.xsd" 
 ActiveWorkbook.XmlMaps.Add strSchemaLocation, "Root" 
End Sub

請參閱

概念

Excel Object Model Reference

XmlMaps Object Members