+ Reply to Thread
Results 1 to 14 of 14

Need macro or userform for Extract data from multiple workbooks by giving date range

  1. #1
    Registered User
    Join Date
    08-26-2013
    Location
    kalyan
    MS-Off Ver
    Excel 2010
    Posts
    14

    Need macro or userform for Extract data from multiple workbooks by giving date range

    Hi

    I jst need to console data from different workbooks to one worksheet. There are 30 workbooks & each workbook contains one worksheet name as Data. The work i am currently doing mentioned below step wise
    1) Open workbook
    2) Apply filter on whole data
    3) Select dates from "J" Column (E.g 02/10/2014 to 02/20/2014)
    4) Then Copy whole filtered data
    5)Paste into New workbook
    6) Open another worbook
    7) repeate Step # 2,3
    8)Then paste whole data in below the first data New Workbook (In which we have paste the first data below that i will paste this data)
    These steps i have to do manually it takes almost 1hr daily
    After pasting all 30 workbooks data in one workbook i have to make pivot of it & sent it to my Manager.

    What i need

    I jst want a excel macro that will ask me date range from which i have to pull data from all 30 workbooks.
    Once i gave date range will jst click on button say extract or pull. It willl console whole 30 workbooks data from the given date range in a one worksheet.

    I hope the given information is sufficient for you.

    Please Help.
    Thanks
    ----------------------------
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    06-12-2012
    Location
    Ridgefield Park, New Jersey
    MS-Off Ver
    Excel 2003,2007,2010
    Posts
    10,241

    Re: Need macro or userform for Extract data from multiple workbooks by giving date range

    Would each workbook to be filtered be for Sheet1?

    "1) Open workbook
    2) Apply filter on whole data"

  3. #3
    Registered User
    Join Date
    08-26-2013
    Location
    kalyan
    MS-Off Ver
    Excel 2010
    Posts
    14

    Re: Need macro or userform for Extract data from multiple workbooks by giving date range

    Hi John H. Davis

    Yes each workbook would be filtered for sheet1 named as DATA "J" Column

    Thanks
    -----------------------

  4. #4
    Forum Expert
    Join Date
    06-12-2012
    Location
    Ridgefield Park, New Jersey
    MS-Off Ver
    Excel 2003,2007,2010
    Posts
    10,241

    Re: Need macro or userform for Extract data from multiple workbooks by giving date range

    Maybe?

    Please Login or Register  to view this content.

  5. #5
    Registered User
    Join Date
    08-26-2013
    Location
    kalyan
    MS-Off Ver
    Excel 2010
    Posts
    14

    Re: Need macro or userform for Extract data from multiple workbooks by giving date range

    Hi John H. Davis

    Thanks for your quick response. Can you please help me with the complete file.

    Thanks
    -------------------------------

  6. #6
    Forum Expert
    Join Date
    06-12-2012
    Location
    Ridgefield Park, New Jersey
    MS-Off Ver
    Excel 2003,2007,2010
    Posts
    10,241

    Re: Need macro or userform for Extract data from multiple workbooks by giving date range

    Not sure what you mean by complete file?

  7. #7
    Registered User
    Join Date
    08-26-2013
    Location
    kalyan
    MS-Off Ver
    Excel 2010
    Posts
    14

    Re: Need macro or userform for Extract data from multiple workbooks by giving date range

    Hi

    1) Excel file that contain macro.
    2) Also want to know that every time i have to enter start & end date in macro.

    Thanks
    --------------------------

  8. #8
    Forum Expert
    Join Date
    06-12-2012
    Location
    Ridgefield Park, New Jersey
    MS-Off Ver
    Excel 2003,2007,2010
    Posts
    10,241

    Re: Need macro or userform for Extract data from multiple workbooks by giving date range

    I can load it, but I need to know the Path and the Destination (ie activeworkbook and sheet names). 2). No you'll have to enter it into the Inputbox's..

  9. #9
    Registered User
    Join Date
    08-26-2013
    Location
    kalyan
    MS-Off Ver
    Excel 2010
    Posts
    14

    Re: Need macro or userform for Extract data from multiple workbooks by giving date range

    Hi

    Below is the path & destination

    C:\Users\g532492\Desktop\Tracker

    Thanks
    --------------------------

  10. #10
    Forum Expert
    Join Date
    06-12-2012
    Location
    Ridgefield Park, New Jersey
    MS-Off Ver
    Excel 2003,2007,2010
    Posts
    10,241

    Re: Need macro or userform for Extract data from multiple workbooks by giving date range

    What about the name of the workbook and sheet you'll be working from?

  11. #11
    Registered User
    Join Date
    08-26-2013
    Location
    kalyan
    MS-Off Ver
    Excel 2010
    Posts
    14

    Re: Need macro or userform for Extract data from multiple workbooks by giving date range

    Hi

    Name of Workbooks are different individuals names & sheet name in each individual is data

    Thanks
    ------------------

  12. #12
    Forum Expert
    Join Date
    06-12-2012
    Location
    Ridgefield Park, New Jersey
    MS-Off Ver
    Excel 2003,2007,2010
    Posts
    10,241

    Re: Need macro or userform for Extract data from multiple workbooks by giving date range

    I added it too the file with the changes you indicated.
    Attached Files Attached Files

  13. #13
    Registered User
    Join Date
    08-26-2013
    Location
    kalyan
    MS-Off Ver
    Excel 2010
    Posts
    14

    Re: Need macro or userform for Extract data from multiple workbooks by giving date range

    Hi John H. Davis

    Thanks Alot for your help You are Superb..

    Thanks
    ----------------------

  14. #14
    Forum Expert
    Join Date
    06-12-2012
    Location
    Ridgefield Park, New Jersey
    MS-Off Ver
    Excel 2003,2007,2010
    Posts
    10,241

    Re: Need macro or userform for Extract data from multiple workbooks by giving date range

    You're welcome. Glad to help out and thanks for the feedback. Please comply with Forum Rule No. 9.

    9. Acknowledge the responses you receive, good or bad. If your problem is solved, please say so clearly, and mark your thread as Solved: Click Thread Tools above your first post, select "Mark your thread as Solved". Or click the Edit button on your first post in the thread, Click Go Advanced, select [SOLVED] from the Prefix dropdown, then click Save Changes. If more than two days have elapsed, the Dropdown option or Edit button will not appear -- ask a moderator to mark it.

+ 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. Macro To Extract Data From Multiple Workbooks To A Single Sheet - Excel
    By Joshdm0716 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 08-15-2013, 12:12 PM
  2. VBA macro to extract data from multiple workbooks into a master workbook
    By garfield0304 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 01-27-2013, 06:24 PM
  3. How to extract data via a macro from multiple workbooks?
    By lross318 in forum Excel Programming / VBA / Macros
    Replies: 22
    Last Post: 09-17-2012, 08:31 AM
  4. Macro to extract data from multiple workbooks, specific sheet, specific cells
    By crissandraauree in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 05-29-2012, 03:54 PM
  5. Macro to extract data from multiple workbooks to a single sheet
    By Phil73 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 08-23-2011, 05:15 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