Stew,
The coding you have is if I wanted to import a text file into Access. Instead I just want to create a linked table. It's easy to do using the wizard - File, Get External Data, Linked Tables, select my text file, and tada, I have a link to my text file. I want to do what the wizard does, but in code. Hopefully that makes it clearer. Thanks for the input though.
Rye