If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
Import txt file macro
Hello,
I am currently using a transfer text macro to import a text file. This works great if the name of the text file is always the same. Is there a similar marco (or any other suggestion) that will allow me to choose the text file to be imported? This text files always contain the same information, just different names. I am currently using Access 2007. Thanks for all your help. Kevin |
#2
|
|||
|
|||
Import txt file macro
On Tue, 18 May 2010 07:08:01 -0700, access2007_newbie
wrote: You'll have to use some VBA code. The typical scenario is where you respond to an "Import Text Bile" button click by opening a file/open dialog (see http://www.mvps.org/access/api/api0001.htm) and take the return value (the file to be opened) and pass it to DoCmd.TransferText. -Tom. Microsoft Access MVP Hello, I am currently using a transfer text macro to import a text file. This works great if the name of the text file is always the same. Is there a similar marco (or any other suggestion) that will allow me to choose the text file to be imported? This text files always contain the same information, just different names. I am currently using Access 2007. Thanks for all your help. Kevin |
Thread Tools | |
Display Modes | |
|
|