Premo88 ha scritto:
DoCmd.TransferText acImportDelim, "", "SOFI", file
e se provassi a lasciarlo in bianco??? ho letto su microsoft che è un parametro opzionale dove se non dichiarato prende di default le impostazioni...
SpecificationName Optional Variant A string expression that's the name of an import or export specification you've created and saved in the current database. For a fixed-width text file, you must either specify an argument or use a schema.ini file, which must be stored in the same folder as the imported, linked, or exported text file.
To create a schema file, you can use the text import/export wizard to create the file. For delimited text files and Microsoft Word mail merge data files, you can leave this argument blank to select the default import/export specifications
quindi proverei
DoCmd.TransferText acImportDelim, , "SOFI", file