Import .txt Files in Excel on 1 Sheet

emoandy05

Board Regular
Joined
Sep 4, 2013
Messages
60
Hello all,

Thanks in advance for your help.

I have a static folder in which I have saved 20 to 30 text files. I need to get the information in these text files into excel, all into column A, right after the other vertically. Right now I manually open each folder, copy the info, paste it into excel under last row of the previous data. An ideal macro would do this until all files in the fodler have been opened imported into excel.

Any help would be greatly appreciated.

Thank you.
 
whats the file names. are they in order, what would be the human import order
 
Upvote 0
the files are named in the following format: "mm.dd.yy mod.txt" for example, "08.25.14 mod.txt". I would like them to be in order from oldest to newest if possible.
 
Upvote 0

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