Closed Thread
Results 1 to 5 of 5

Importing multiple text files.

  1. #1
    Registered User
    Join Date
    06-04-2008
    Posts
    4

    Importing multiple text files.

    hi,
    i am in need of a code to import a whole directory of *.fwd files. I need there to be a user input for the directory to look in. The fwd files are opened with notepad as plain text and are space delimited. They need to be imported to a single worksheet and then "stacked" so that the columns from all the data files still lineup on the worksheet. Included is one of the fwd files and how multiple files should be placed into the sheet. Two files have been imported into the spreadsheet im sending, but there will probably be hundreds (had to trim data to get below 100kb limit). Right now im having to do this manually. Thanks for any help!

    Drew
    Attached Files Attached Files

  2. #2
    Forum Expert mrice's Avatar
    Join Date
    06-22-2004
    Location
    Surrey, England
    MS-Off Ver
    Excel 2013
    Posts
    4,967
    Try this macro

    Please Login or Register  to view this content.
    Martin

  3. #3
    Forum Guru
    Join Date
    08-15-2004
    Location
    Tokyo, Japan
    MS-Off Ver
    2013 O.365
    Posts
    22,523
    try
    Please Login or Register  to view this content.

  4. #4
    Forum Contributor
    Join Date
    03-25-2008
    MS-Off Ver
    Excel, Outlook, Word 2007/2003
    Posts
    245

  5. #5
    Valued Forum Contributor mudraker's Avatar
    Join Date
    11-10-2003
    Location
    Melbourne, Australia
    Posts
    3,983
    Jdrewrd

    Please take a couple of minutes and read the Forum Rules before you post another thread


    Closing thread for cross posting

    Charlize

    Thanks for pointing out this thread is cross posted
    Please Read Forum Rules Before Posting
    Wrap VBA code by selecting the code and clicking the # icon or Read This
    How To Cross Post politely

    Top Excel links for beginners to Experts

    If you are pleased with a member's answer then use the Scales icon to rate it
    If my reply has assisted or failed to assist you I welcome your Feedback.

Closed Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Pasting multiple lines of text into one cell
    By hoopz in forum Excel General
    Replies: 4
    Last Post: 07-11-2012, 08:28 PM
  2. Importing multiple text files into excel
    By zonino in forum Excel General
    Replies: 2
    Last Post: 03-25-2008, 10:59 PM
  3. Trying to import multiple text files using "fixed width"
    By titans90 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 08-15-2007, 10:12 AM
  4. Replies: 3
    Last Post: 01-26-2007, 10:30 PM
  5. Newbie... Macro - Importing multiple csv files to excel
    By dugong in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 10-24-2006, 05:04 AM

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