+ Reply to Thread
Results 1 to 4 of 4

Convert Multiple text files to excel files

  1. #1
    Registered User
    Join Date
    09-08-2011
    Location
    Chennai, India
    MS-Off Ver
    Excel 2003
    Posts
    1

    Unhappy Convert Multiple text files to excel files

    Hi,
    I would like to convert multiple text files to excel files respectively..
    I have nearly 800 text files which needs to be converted to excel files individually..

    Can any one guide me please

  2. #2
    Administrator JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Convert Multiple text files to excel files

    1) Turn on your macro recorder.
    2) Open one of your text files and convert it/save it as XLS
    3) Open a second text file and convert it/save it as XLS
    4) Turn off the macro recorder

    5) Press Alt-F8 to open the macro list
    6) Click once on your recorded macro and select EDIT
    7) Copy that code into memory

    8) In the forum QUICK REPLY box below, click GO ADVANCED
    9) Click the # icon
    10) Paste in the code you copied between those code tags

    We'll take a look and offer replacement code that will open/convert all the files in that folder for you based on what we see in your recorded macro.
    _________________
    Microsoft MVP 2010 - Excel
    Visit: Jerry Beaucaire's Excel Files & Macros

    If you've been given good help, use the icon below to give reputation feedback, it is appreciated.
    Always put your code between code tags. [CODE] your code here [/CODE]

    “None of us is as good as all of us” - Ray Kroc
    “Actually, I *am* a rocket scientist.” - JB (little ones count!)

  3. #3
    Registered User
    Join Date
    07-07-2015
    Location
    mumbai
    MS-Off Ver
    13
    Posts
    1

    Exclamation Re: Convert Multiple text files to excel files

    hello sir, i have to convert 1200 text files to individual excel files. i have done according to your post and sending you the macros code. please look at it and let me know for further processing.

    Please Login or Register  to view this content.
    Last edited by JBeaucaire; 07-07-2015 at 10:40 AM. Reason: Added missing CODE tags. Please read and follow the Forum Rules, link above in the menu bar. Thanks.

  4. #4
    Administrator JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Convert Multiple text files to excel files

    Normally it is against the rules to HIJACK someone else's thread with a question of your own. In this rare instance the OP has abandoned the thread, so we'll let you take it so as to complete the usefulness of the thread's existence. But be warned, as this is your first post I suspect you might nit have read the rules you agreed to abide. Take a moment and read them now, there's a link to the Forum Rules in the menu bar above.

    ============
    Based on your sample, this should process all the files in the given fPATH:
    Please Login or Register  to view this content.

+ 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