Import .txt file Dialog Box to Choose File?

B

Bill Johnson

Is there VBA code that will allow me to choose which .txt
file from a folder to import?

Thanks for your help
 
B

Bill Johnson

John,

Thanks! That worked great. It also gave me
some additional education.

Bill

-----Original Message-----
Hi Bill,

There are various ways of doing this. Probably the most reliable is at
http://www.mvps.org/access/api/api0001.htm . This gets you the folder
and filename, which you can then pass to DoCmd.TransferText.
Is there VBA code that will allow me to choose which .txt
file from a folder to import?

Thanks for your help

--
John Nurick [Microsoft Access MVP]

Please respond in the newgroup and not by email.
.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top