+ Reply to Thread
Results 1 to 4 of 4

Splitting files into multiple workbooks on the basis of specific column

  1. #1
    Registered User
    Join Date
    07-06-2014
    Location
    India
    MS-Off Ver
    2007
    Posts
    73

    Splitting files into multiple workbooks on the basis of specific column

    Dear All,

    I have excel data file where the code can split the data into different xls file on the basis of country for first sheet only.

    Require your help to execute the code so as to create single country wise files for all sheets. i.e. file consisting of data with sheet A1,B1,C1. The present code works only for sheet A1 and it creates different files with data related to that country. I was looking for the output file with B1 and C1 as well for that country. Also new output file needs to be renamed just as of original one.

    Sample file attached

    Regards,

    Manwatkar
    Attached Files Attached Files

  2. #2
    Forum Expert jaslake's Avatar
    Join Date
    02-21-2009
    Location
    Atwood Lake in Mid NE Ohio...look it up.
    MS-Off Ver
    Excel 2010 2019
    Posts
    12,749

    Re: Splitting files into multiple workbooks on the basis of specific column

    Hi Manwatkar

    Welcome to the Forum!!

    Try this Code in the attached.
    Please Login or Register  to view this content.
    Attached Files Attached Files
    John

    If you have issues with Code I've provided, I appreciate your feedback.

    In the event Code provided resolves your issue, please mark your Thread as SOLVED.

    If you're satisfied by any members response to your issue please use the star icon at the lower left of their post.

  3. #3
    Registered User
    Join Date
    07-06-2014
    Location
    India
    MS-Off Ver
    2007
    Posts
    73

    Re: Splitting files into multiple workbooks on the basis of specific column

    Thank you Sir..

    I was also looking for sheets B1,C1 or even more sheets (if available) where similar data is available. Output file should also consist of these sheets data..Also, can it be posible to rename the output file sheets simlar to original one.

    Regards..

  4. #4
    Forum Expert jaslake's Avatar
    Join Date
    02-21-2009
    Location
    Atwood Lake in Mid NE Ohio...look it up.
    MS-Off Ver
    Excel 2010 2019
    Posts
    12,749

    Re: Splitting files into multiple workbooks on the basis of specific column

    Hi Manwatkar

    The Code will handle all the Sheets in the Workbook so I don't understand this comment
    I was also looking for sheets B1,C1 or even more sheets (if available) where similar data is available
    Additionally, please explain this further...I don't understand
    rename the output file sheets simlar to original one.
    It will be helpful if you attached a File that includes the Raw Data and you're expected output.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Search multiple files on a row or cell basis
    By Buzzed Aldrin in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 01-13-2014, 04:32 PM
  2. How do I combine splitting data into files then splitting the new files data into multiple
    By Lauraguthrie in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-01-2013, 01:18 PM
  3. Extract specific column data from specific sheet from multiple files in a folder
    By piggyfox in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 05-31-2013, 11:51 AM
  4. Splitting a file into multiple files as per a column
    By DCS2010 in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 06-01-2012, 10:29 AM
  5. Splitting out Excel data to multiple files based on one column's values
    By machos in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-28-2011, 08:55 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