transfer text

bobaol

Board Regular
Joined
Jun 3, 2002
Messages
225
Office Version
  1. 365
  2. 2003 or older
Platform
  1. Windows
Hi, I am trying to do the following on Access using the TransferText Action.
In TransferText Action, Transfer Type =Import Delimited, Specification Name = RC1, Table Name = ABC1, File Name = C:\arc_file1.txt, Has Field Names = NO, HTML Table Name = Blank.

OK, my question. I want to use all the following as described in the above except for File Name = C:\arc_file1.txt because I want to pick and choose my own file. Next month, it will be arc_file2.txt and so on. I know I can use a Command->Import option to get a dialogue box, but that does not allow me to retain Specification Name = RC1. Ok, what is the VB code to get a dialogue box and retain all the other specification as described above for the TransferText Action? Thanks in advance.
 

Excel Facts

Quick Sum
Select a range of cells. The total appears in bottom right of Excel screen. Right-click total to add Max, Min, Count, Average.

Forum statistics

Threads
1,221,537
Messages
6,160,394
Members
451,645
Latest member
hglymph

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top