Export to an XML file : Access XML « Access « VBA / Excel / Access / Word






Export to an XML file

 

Sub ExportcustXML()
    Application.ExportXML _
     ObjectType:=acExportTable, DataSource:="Employees", DataTarget:="c:\Companyxml.xml", _
     SchemaTarget:="CompanySchema.xml", _
     OtherFlags:=1
    
End Sub

 








Related examples in the same category

1.Import an XML file
2.Import XML file
3.Emport table as XML file