Export table as txt file
Public Sub ExportTable() DoCmd.OutputTo acOutputTable, "tblCustomer", acFormatTXT, _ "C:\BegVBA\Customer.txt" End Sub