+ Reply to Thread
Results 1 to 6 of 6

Export chunks of data into new workbooks

  1. #1
    Registered User
    Join Date
    05-06-2015
    Location
    virginia, USA
    MS-Off Ver
    2013
    Posts
    37

    Export chunks of data into new workbooks

    Hi all,

    I have one big master file with tons of cost data broken down by the type of cost. I need to have a separate workbook for each type of cost and rather than filter copy a million times into new workbooks, I'd like to build a macro that does it.

    I have attached a sample worksheet just to get the format across. So in this sample the macro would create separate workbooks for all rows associated with each cost type (100, 101, 102, and 103).

    The actual data sets are much larger or I would just do it manually.

    Let me know if there's any other information I can give you to help.

    Thanks,
    Scott
    Last edited by sokeefe14; 05-14-2015 at 09:19 AM.

  2. #2
    Registered User
    Join Date
    05-06-2015
    Location
    virginia, USA
    MS-Off Ver
    2013
    Posts
    37

    Re: Export chunks of data into new workbooks

    Forgot attachment, here it is.Sample Breakout.xlsx

  3. #3
    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: Export chunks of data into new workbooks

    Hi sokeefe14

    This Code is in the attached...CTRL + x will fire the Code. The newly created Files are in the same Folder as the Sample File.
    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.

  4. #4
    Registered User
    Join Date
    05-06-2015
    Location
    virginia, USA
    MS-Off Ver
    2013
    Posts
    37

    Re: Export chunks of data into new workbooks

    John,

    Thanks for your reply. I put something together before I got your response that seems to be working. Up vote for help though!

  5. #5
    Registered User
    Join Date
    05-06-2015
    Location
    virginia, USA
    MS-Off Ver
    2013
    Posts
    37

    Re: Export chunks of data into new workbooks

    John,

    Thanks for your reply. I put something together before I got your response that seems to be working. Up vote for help though!

  6. #6
    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: Export chunks of data into new workbooks

    Glad you got it sorted...thanks for the Rep...

+ 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. Need formula that will sum up chunks of data
    By KristinMC in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 01-12-2015, 05:33 PM
  2. Combine data from 4 workbooks and then export filtered data to individual files?
    By womanket in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 07-16-2013, 12:20 PM
  3. copying chunks of data together
    By m121212 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 10-14-2010, 12:19 PM
  4. Replies: 1
    Last Post: 07-08-2010, 06:10 AM
  5. Parse Data from closed workbooks, export to additional sheets
    By randell.graybill in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 05-01-2010, 08:34 PM

Tags for this Thread

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