Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27
Default Importing mulitple .txt files to excel

Hi
I have up to 100 .txt file in a folder each containing one line of
text in a pipe delimited format. Each line of text contains the same
number of data items and once delimited to Excel contains the same
data type in each column. I would like to iterate throught each file
in the folder and be able to import each line of text to the same
sheet in Excel each line being imported to its own row. Can anyone
give me a clue as how I would go about this using VBA. Thanks all...
Mike

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 52
Default Importing mulitple .txt files to excel

There is a utility called TxtCollector which will append all those text
files into one, then you can import one big text file:

http://bluefive.pair.com/txtcollector.htm

MH

"mikerobe" wrote in message
oups.com...
Hi
I have up to 100 .txt file in a folder each containing one line of
text in a pipe delimited format. Each line of text contains the same
number of data items and once delimited to Excel contains the same
data type in each column. I would like to iterate throught each file
in the folder and be able to import each line of text to the same
sheet in Excel each line being imported to its own row. Can anyone
give me a clue as how I would go about this using VBA. Thanks all...
Mike



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27
Default Importing mulitple .txt files to excel

On 18 Mar, 22:11, "MH" wrote:
There is a utility called TxtCollector which will append all those textfilesinto one, then you can import one big text file:

http://bluefive.pair.com/txtcollector.htm

MH

"mikerobe" wrote in message

oups.com...

Hi
I have up to 100 .txtfile in a folder each containing one line of
text in a pipe delimited format. Each line of text contains the same
number of data items and once delimited toExcelcontains the same
data type in each column. I would like to iterate throught each file
in the folder and be able to import each line of text to the same
sheet inExceleach line being imported to its own row. Can anyone
give me a clue as how I would go about this using VBA. Thanks all...
Mike


Thanks for the ultra quick response, great app and doing the job
perfectly

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 52
Default Importing mulitple .txt files to excel

"mikerobe" wrote in message
oups.com...
Thanks for the ultra quick response, great app and doing the job
perfectly


That app has saved me so much time over the past year. Glad you like it.

MH


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
How can I append multiple sheets from mulitple xls. files. into 1 salem_gladiator Excel Discussion (Misc queries) 1 January 16th 09 11:02 PM
importing data from mulitple files in a directory charles Excel Discussion (Misc queries) 1 October 24th 08 02:04 AM
Macro to create mulitple files Consulting Joan Excel Discussion (Misc queries) 1 February 8th 06 03:38 AM
Running a macro on mulitple files Chris Excel Programming 1 December 8th 04 11:02 PM
importing mulitple files heather Excel Programming 1 November 7th 03 09:43 PM


All times are GMT +1. The time now is 08:21 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"