+ Reply to Thread
Results 1 to 4 of 4

Import Multiple text files in different worksheet into Excel 2010

  1. #1
    Registered User
    Join Date
    11-16-2012
    Location
    Santa Barbara
    MS-Off Ver
    Excel 2010
    Posts
    29

    Import Multiple text files in different worksheet into Excel 2010

    I have multiple text files that i want to import in excel in seperate sheets. Please help with a Macro code. Thanks.

  2. #2
    Forum Expert tigeravatar's Avatar
    Join Date
    03-25-2011
    Location
    Colorado, USA
    MS-Off Ver
    Excel 2003 - 2013
    Posts
    5,361

    Re: Import Multiple text files in different worksheet into Excel 2010

    rageshprasad,

    Assuming the text files are all in the same folder, something like this should work for you. Note that this code assumes the text files are tab delimited:
    Please Login or Register  to view this content.
    Hope that helps,
    ~tigeravatar

    Forum Rules: How to use code tags, mark a thread solved, and keep yourself out of trouble

  3. #3
    Registered User
    Join Date
    03-05-2014
    Location
    Indonesia
    MS-Off Ver
    Excel 2007
    Posts
    1

    Re: Import Multiple text files in different worksheet into Excel 2010

    Please help if the text files are "fixed with" (contains spaces)

  4. #4
    Forum Contributor arlu1201's Avatar
    Join Date
    09-09-2011
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    19,166

    Re: Import Multiple text files in different worksheet into Excel 2010

    kholisez,

    Unfortunately you need to post your question in a new thread, it's against the forum rules to post a question in the thread of another user. If you create your own thread, any advice will be tailored to your situation so you should include a description of what you've done and are trying to do. Also, if you feel that this thread is particularly relevant to what you are trying to do, you can surely include a link to it in your new thread.
    If I have helped, Don't forget to add to my reputation (click on the star below the post)
    Don't forget to mark threads as "Solved" (Thread Tools->Mark thread as Solved)
    Use code tags when posting your VBA code: [code] Your code here [/code]

+ 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