Assuming you want a specification for importing a text file:
You create an import specification by manually beginning the import process
(via File | Export). When you're in the wizard window, click the Advanced
button at bottom left. In the new window, you'll see all the settings you
can specify. Enter all the information. Click Save As button and save them
as a specification (name it whatever you want, e.g., "MyEImportSpec", for
example). Click OK button to return to the main window of the wizard. Then
click Cancel button to cancel the rest of the import.
Now go to your TransferText code and add the name of the specification to
the appopriate argument position.
If you're using ACCESS 2007 and want to import an EXCEL file, then follow
similiar instructions as above but for an EXCEL file.