+ Reply to Thread
Results 1 to 2 of 2

using MS Query to import multiple text files

  1. #1
    Registered User
    Join Date
    08-26-2009
    Location
    London
    MS-Off Ver
    Excel 2007
    Posts
    28

    using MS Query to import multiple text files

    Hi!

    I am trying to use MS Query to first combine text files into one table of data and then import it to Excel. I have a data with identical amount of columns and with identical column headers in every file.. what would be the best way to do this..? thanks!

  2. #2
    Registered User
    Join Date
    10-26-2009
    Location
    Belfast, Northern Ireland
    MS-Off Ver
    Excel 2003
    Posts
    6

    Re: using MS Query to import multiple text files

    Something like:

    Select * from `file1.txt`
    union all
    Select * from `file2.txt`
    union all ...

    should do the trick I think.
    Last edited by browni; 10-26-2009 at 10:14 PM.

+ 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