+ Reply to Thread
Results 1 to 3 of 3

Like Rows written into separate files

  1. #1
    Registered User
    Join Date
    02-11-2013
    Location
    Texas
    MS-Off Ver
    Excel 2003
    Posts
    58

    Like Rows written into separate files

    I'd like to do the same thing, basically, as what was posted in JBeaucaire's 1st post [in this thread]. However, if I have multiple rows that should copy to the same file, how can I loop and break based on changes in column a? For example: all COX350 lines and all EAT100 lines should be written to their own files individual files.

    COX350 131 2
    COX350 254 11
    COX350 426
    COX350 430 1
    COX350 433 4
    COX350 434 3
    EAT100 108 20
    EAT100 120 0
    EAT100 130 1
    EAT100 135 6
    EAT100 145 124
    Last edited by JBeaucaire; 02-12-2013 at 03:09 AM. Reason: Moved to a thread of its own, as per forum rules. Please don't hijack other people's threads. Read the forum rules!

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

    Re: Export Multiple Cells Into Multiple *.txt Files

    Michael,

    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]

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

    Re: Like Rows written into separate files

    Like so:
    Please Login or Register  to view this content.
    _________________
    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!)

+ 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