+ Reply to Thread
Results 1 to 3 of 3

How to Import two consecutive text files in same column. No empty rows between.

  1. #1
    Registered User
    Join Date
    09-16-2011
    Location
    Riverside, CA
    MS-Off Ver
    Excel 2007 / Excel 2010
    Posts
    3

    How to Import two consecutive text files in same column. No empty rows between.

    Hello all,

    Is there any way to create a macro that will import two text files consecutively into the same column without any empty rows inbetween? Please note, the first text file is always of different length and always ends in a different row. Thanks.

  2. #2
    Valued Forum Contributor MaczaQ's Avatar
    Join Date
    06-03-2011
    Location
    Poland
    MS-Off Ver
    Excel 2003 / XP
    Posts
    510

    Re: How to Import two consecutive text files in same column. No empty rows between.

    of course it is possible, just give us some files for testing
    Best Regards
    MaczaQ
    ---------------------------------------------------------------------------------------------------------------------------
    If you are satisfied with the solution(s) provided, please mark your thread as Solved
    If you are pleased with my answer consider to rate it. To thank someone who has helped you, click on the star icon below their name.
    - This way you will add him some reputation points ... thanks in advance.

  3. #3
    Valued Forum Contributor MaczaQ's Avatar
    Join Date
    06-03-2011
    Location
    Poland
    MS-Off Ver
    Excel 2003 / XP
    Posts
    510

    Re: How to Import two consecutive text files in same column. No empty rows between.

    BTW I created for You following code
    Please Login or Register  to view this content.
    example files attached; just put them together in one folder and test.
    Attached Files Attached Files
    Last edited by MaczaQ; 09-20-2011 at 04:18 PM. Reason: code update

+ 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