If you want to let the user navigate to a file, then you cannot do this with
just a macro. You'll need to use VBA code to display the navigation browse
window.
The ACCESS Web has VBA code that displays such a window:
www.mvps.org/access/api/api0001.htm
You would need to put the code in a regular VBA module, then you can call
the function from the TransferText macro by putting the function name (with
the parentheses) in the File Name argument box. (You may need to put = sign
in front of the function name, too.)

Signature
Ken Snell
<MS ACCESS MVP>
>I have been trying to write a macro that will automate the transfer of data
> from text files into tables in access. So far I have found two ways of
[quoted text clipped - 19 lines]
>
> Tim
Seikyo - 30 May 2005 03:36 GMT
How can we put this module into a transfertext macro?
I tried this but it say "Cannot import this file"
ahtCommonFileOpenSave(Filter:="Text Files (*.text)", "*.txt",
OpenFile:=True,DialogTitle:="Please select an input
file...",Flags:=ahtOFN_HIDEREADONLY)

Signature
Seikyo
> If you want to let the user navigate to a file, then you cannot do this with
> just a macro. You'll need to use VBA code to display the navigation browse
[quoted text clipped - 30 lines]
> >
> > Tim