+ Reply to Thread
Results 1 to 3 of 3

Multiple text file import including file name.

  1. #1
    Registered User
    Join Date
    05-29-2013
    Location
    Melbourne Australia
    MS-Off Ver
    Excel 2010
    Posts
    2

    Multiple text file import including file name.

    Hi All.

    First post and certainly not the first problem. Thanks to google and some good coders so far (from another post on the site), I have got the following code.

    Please Login or Register  to view this content.
    This code imports and appends the new file at the bottom of the last one in column 2.. What I want to do is match each line with the filename of the text file being imported.

    EG

    File 1.txt

    This
    Is
    Data

    COL1 COL2
    1.txt This
    1.txt Is
    1.txt Data

    Any ideas?

  2. #2
    Forum Guru
    Join Date
    08-15-2004
    Location
    Tokyo, Japan
    MS-Off Ver
    2013 O.365
    Posts
    22,523

    Re: Multiple text file import including file name.

    Seems I wrote it a while back...

    See if this is what you wanted
    Please Login or Register  to view this content.

  3. #3
    Registered User
    Join Date
    05-29-2013
    Location
    Melbourne Australia
    MS-Off Ver
    Excel 2010
    Posts
    2

    Re: Multiple text file import including file name.

    Quote Originally Posted by jindon View Post
    Seems I wrote it a while back...

    See if this is what you wanted
    Gentlemen, Scholar and Lifesaver. Thankyou!

+ 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