Saturday, 18 April 2015

How can I export a lot of XML file with diferent names from Access VBA?



Please I need a litle help here... I'm exporting a XML file from access with this code. I have to export a lot of xml files into the same carpet and they don't have to be replaced. But, in the code I don't know how to write that on DataTarget. Heeeelp!!



Application.ExportXML ObjectType:=acExportTable, DataSource:="Customers", _
DataTarget:="Customer Orders.xml", _
AdditionalData:=objOrderInfo


End Sub


No comments:

Post a Comment