LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 46
Default looping through txt files and pasting into a excel worksheet

Can anyone help me create code to accomplish the following:

I have a folder that has a bunch of text files in it. I would like to
programatically open each file in a folder that contains the text '_MAST' in
it, copy the contents, and then paste it into an excel worksheet. I would
like it to keep looping through all of the text files in the folder until
all of the contents are pasted into one excel worksheet.

Any help would be greatly appreciated.

--
Regards,

timmulla
 
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
Looping through multiple sheets and pasting data in first blank ro Dan Excel Programming 1 September 18th 08 04:23 PM
Print Excel worksheet several times, looping value of 1 cell Hershmab Excel Programming 6 July 14th 07 07:48 PM
CAN I CLUB SIMILAR EXCEL FILES WITHOUT COPYING AND PASTING NAINAN JOSEPH Excel Discussion (Misc queries) 2 November 11th 06 06:56 AM
Looping through excel files to add to a new workbook Geoff Excel Programming 8 April 29th 06 11:54 AM
Looping thru files Tom Excel Programming 4 January 9th 04 05:05 PM


All times are GMT +1. The time now is 10:36 AM.

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"