+ Reply to Thread
Results 1 to 5 of 5

Copy data from multiple sheets

  1. #1
    Registered User
    Join Date
    07-31-2011
    Location
    Pakistan
    MS-Off Ver
    Excel 2019
    Posts
    63

    Copy data from multiple sheets

    I have several excel workbooks, example of one workbook named as (Aug-11) and that workbook contains multiple worksheets , 31 sheets, named as Aug-1 to Aug-31 and one sheet named as (Master). Each worksheet is formated in the same way. Now I want to copy all the data from each sheet on the condition that if Column A contains date then copy that entire row within this column range of A to N and paste it into a single worksheet named as (Master) it should start to paste in this Master sheet from A7.

    Column A is of date in each sheet, example: there can be 3 dates in sheet Aug-1 and maybe there can be 5 dates in sheet Aug-2
    so in Master sheet, there will be of total 7 dates with entire data starting from A7 to A14 and so on,

  2. #2
    Registered User
    Join Date
    07-14-2011
    Location
    Lohr, Germany
    MS-Off Ver
    Excel 2003
    Posts
    36

    Re: Copy data from multiple sheets

    This can be done with a small VBA routine: looping through the sheets and copying the relevant rows to the master.
    You need to provide a sample workbook where it can be implemented.
    To do so push the "Go Advanced" button and click on the paper-clip symbol

  3. #3
    Registered User
    Join Date
    07-31-2011
    Location
    Pakistan
    MS-Off Ver
    Excel 2019
    Posts
    63

    Re: Copy data from multiple sheets

    i have attached a sample excel file for this, plz kindly provide me easy vba solution for this. Thanks
    Attached Files Attached Files

  4. #4
    Valued Forum Contributor realniceguy5000's Avatar
    Join Date
    03-20-2008
    Location
    Fl
    MS-Off Ver
    Excel 2003 & 2010
    Posts
    951

    Re: Copy data from multiple sheets

    Hi, You can try this:

    Please Login or Register  to view this content.
    Thank You, Mike

    Some Helpful Hints:

    1. New members please read & follow the Forum Rules
    2. Use Code Tags...Place[code]Before the first line and[/code] After the last line.
    3. If you are pleased with a solution mark your post SOLVED.
    4. Thank those who have help you by clicking the scales at the top right of the post.

    Here...

  5. #5
    Registered User
    Join Date
    07-14-2011
    Location
    Lohr, Germany
    MS-Off Ver
    Excel 2003
    Posts
    36

    Re: Copy data from multiple sheets

    Mike's solution works perfectly.
    Just for the fun of it I pasted into your workbook module, run CopyToMaster - Bingo.

    You should mark your thread solved.
    Thanks
    Richard

+ 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