The relevant line of code isDoCmd.TransferText acExportDelim, , "DataGood", Replace(strFilePath, "Import", "Export"), Truewhere strFilePath contains the full path and name of the imported file, DBImport.csv and just changes the output file name to DBExport.csv in the same relative location...