Hi
I am running this code to export a table. it works fine but I want it to also bring out the headers as the first row of the csv file.
I cannot find a way to do it, as anyone and ideas please. Thanks
Sub ExportContacts()
DoCmd.TransferText acExportDelim, "ContactsNew Export", _
"Contacts", "I:\Trex\Database 2013\ContactsNew.csv"
End Sub
I am running this code to export a table. it works fine but I want it to also bring out the headers as the first row of the csv file.
I cannot find a way to do it, as anyone and ideas please. Thanks
Sub ExportContacts()
DoCmd.TransferText acExportDelim, "ContactsNew Export", _
"Contacts", "I:\Trex\Database 2013\ContactsNew.csv"
End Sub