April 2006
Beginner
1114 pages
98h 16m
English
xmlmap.ExportXml(Data)
Exports mapped data to a string variable. Returns an xlXmlExportResult constant indicating whether the export was successful.
|
Argument |
Settings |
|---|---|
|
|
The variable in which to store the exported XML data |
The ExportXml method is equivalent to the Export method except for the target of the data. The following code exports mapped nodes in the XML map named Numbers_Map to a variable then display the contents of the variable in the Debug window:
Set xmap = ThisWorkbook.XmlMaps("Numbers_Map")
If xmap.IsExportable Then
res = xmap.ExportXML(xml)
Debug.Print xml
End IfRead now
Unlock full access