I am trying to export the mapped the data from Excel to XML . Name of Mapped file to : Screens_Map
Below is my Code of Macro
Sub Macro1()
ActiveWorkbook.XmlMaps("Screens_Map").Export Url:= _
"c:\<LocalFile>"
End Sub
When I run this code, I am seeing this error
run time error '-2147467259(80004005)
Method export of object XMLMap failed
Please Help over this