Well one way of doing it, maby not the easyest and best way but still, is to
import the textfile into an existing table with all the fields neccesary by
using DoCmd.TransfereText method and then using the same method
DoCmd.TransfereText to export it into another folder.
Import textfile into your table using something like this:
DoCmd.TransferText acImportDelim, ,
"NameOfYourTableWhereDataShallBeImportedTo",
"FullPathToYourFolderWhereTextFileAreLocatedInclFileName", False
Then use this to export the test to your folder:
DoCmd.TransferText acExportDelim, , "NameOfYourTableWhereDataAreStored",
"FullPathToYourFolderInclFileName", False
This example abow is used for text seperated with semicolon. There are other
types of TransfereText methods. Use F1 to look for that. Open VBE-window
type DoCmd.TransfereText. Put cursor somewhere in "TransfereText" and hit
F1.
// Niklas