+ Reply to Thread
Results 1 to 2 of 2

merging .txt files using VBA

  1. #1
    Registered User
    Join Date
    07-05-2011
    Location
    Jakarta, Indonesia
    MS-Off Ver
    Excel 2007
    Posts
    3

    merging .txt files using VBA

    Dear Guys,

    I have some folder (c:\test\) contains of (let's say 100) *_pdp.txt files.
    I want to merge them and then add the result into one new file called c:\test\PDP.txt

    since I'm new in VBA macro, can I have some code to do that?

    thank's before.

  2. #2
    Forum Expert
    Join Date
    12-10-2006
    Location
    Sydney
    MS-Off Ver
    Office 365
    Posts
    3,527

    Re: merging .txt files using VBA

    Hi coolbear91,

    Based on snb's clever code from here, try this:

    Please Login or Register  to view this content.
    Regards,

    Robert
    ____________________________________________
    Please ensure you mark your thread as Solved once it is. Click here to see how
    If this post helps, please don't forget to say thanks by clicking the star icon in the bottom left-hand corner of my post

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1