I have a working example, if you get stuck. You need to change the code from XLS to TXT and transferspreadsheet to transfertext. also when importing a Text file you need to create an import SPEC. When you manually import with the wizard, click the advanced tab and SAVE the spec. You need to use the name in the Docmd eg...
I alwats put these text files into a spreadsheet first and once that is sorted out (data integrity) I import this into a database. I don't like rubbish in my database.
I alwats put these text files into a spreadsheet first and once that is sorted out (data integrity) I import this into a database. I don't like rubbish in my database.
that's fine if you only have to do it once in a while, but that is why you can save a Specification template in the Access wizard. Once you have defined the data types, it will work seamlessly in an automated process.
I've encountered so many errors in the pass it was eventually more efficient, but if it works straight into Access then use the fully automated process.
Not sure why it is urgent, either you use them or you don't....I think there is another way to bring up the dialogue, but this is how I do it:
Start to Import a text file ( you won't complete the import), when you get the import wizard, click the advanced button...here you will see the list of Spec files ( click the Spec button)....there you can delete them