+ Reply to Thread
Results 1 to 4 of 4

Export Rows to New Workbook Based on Date

  1. #1
    Registered User
    Join Date
    08-19-2012
    Location
    Denver
    MS-Off Ver
    Excel 2007
    Posts
    85

    Export Rows to New Workbook Based on Date

    Hello all,

    I have 30,000 rows of data over a period of three years. I need to export the data week by week to 156 new workbooks. Can someone please assist with a macro that does this?

    The data begins on March 1st, 2010. So, the idea is to pull columns A:DA for March 1st-7th in the first new workbook. Then 8th-14th in the second. 15-21st in the third and so on.

    For reference, March 1st, 2010 is 40238, and the date is in column is O. Looking to pull all columns to a new workbook and save it when the value of the cell in column O is in between date range for all 156 ranges.

    Thanks for reading!
    Matt

  2. #2
    Registered User
    Join Date
    08-15-2014
    Location
    St.Petersburg, Russia
    MS-Off Ver
    MSO Excel 2010
    Posts
    20

    Re: Export Rows to New Workbook Based on Date

    Is your data sorted by date?
    And, also is one row of data for each date, or there can be multiple rows with the same date?
    Last edited by hohlick; 10-01-2014 at 01:36 PM.

  3. #3
    Registered User
    Join Date
    08-19-2012
    Location
    Denver
    MS-Off Ver
    Excel 2007
    Posts
    85

    Re: Export Rows to New Workbook Based on Date

    It can be sorted by date if that is helpful. Also, there are multiple rows with the same date.

    Thank you hohlick!

  4. #4
    Registered User
    Join Date
    08-19-2012
    Location
    Denver
    MS-Off Ver
    Excel 2007
    Posts
    85

    Re: Export Rows to New Workbook Based on Date

    Actually, the date range is April 1st 2010 - March 31st 2013.

+ 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. [SOLVED] Export rows to new sheet based on conditions being met
    By ajolley in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 09-10-2014, 02:52 PM
  2. Pulling Rows from other tabs in workbook based on date
    By Pbornho in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 01-26-2014, 07:50 PM
  3. Sort rows in a workbook based on Date in Row A
    By michelle 1 in forum Excel Programming / VBA / Macros
    Replies: 18
    Last Post: 07-12-2013, 03:32 AM
  4. [SOLVED] Export Rows based on value in column. Delete Row in current doc.
    By basketcase in forum Excel Programming / VBA / Macros
    Replies: 13
    Last Post: 12-18-2012, 12:49 PM
  5. Export rows to another workbook but check for duplicates
    By revenge4ash89 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-11-2012, 06:43 PM

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