+ Reply to Thread
Results 1 to 5 of 5

How to write macro for copy data from multiple sheet to a single sheet.

  1. #1
    Registered User
    Join Date
    01-28-2011
    Location
    India
    MS-Off Ver
    Excel 2007
    Posts
    9

    How to write macro for copy data from multiple sheet to a single sheet.

    Hi,
    I want to copy data from multiple sheet and paste in a summary sheet. Every days the number of increases, from where i need to copy the data. Can we write a macro such that it automatically copy the data from all the sheet for the specified field and past in summary sheet.

    In my workbook there are suppose 20 sheet and i want to copy the data only from 15 sheet. I have created two sheet blank to make boundary to identify the sheets need to be copied. Header is A2 to A15 and data is in B2 to B15 of each sheet. In the final sheet where i want to copy the data i have already added header as A2 to A15, now i want to just copy the data from cell B2 to B15 of all the sheet.
    Please help me on this.

  2. #2
    Forum Expert
    Join Date
    11-29-2010
    Location
    Ukraine
    MS-Off Ver
    Excel 2019
    Posts
    4,168

    Re: How to write macro for copy data from multiple sheet to a single sheet.

    please post a sample workbook

  3. #3
    Registered User
    Join Date
    01-28-2011
    Location
    India
    MS-Off Ver
    Excel 2007
    Posts
    9

    Re: How to write macro for copy data from multiple sheet to a single sheet.

    Hi,
    I have attached sample sheet. i need to copy data from sheet 3 to sheet 13 in sheet name summary. daily the count of sheet will increase between sheet start ans end
    Attached Files Attached Files

  4. #4
    Registered User
    Join Date
    01-28-2011
    Location
    India
    MS-Off Ver
    Excel 2007
    Posts
    9

    Re: How to write macro for copy data from multiple sheet to a single sheet.

    Hi,
    Any body can help me on the above query...

    Thanks in Advance

  5. #5
    Forum Expert
    Join Date
    11-29-2010
    Location
    Ukraine
    MS-Off Ver
    Excel 2019
    Posts
    4,168

    Re: How to write macro for copy data from multiple sheet to a single sheet.

    see attachment, press button "Collect"

    Remarks:
    1. Sheet "summary " has a space at the end so the code has the same name inside.
    2. All the sheets for processing should be placed after "summary " sheet as in attached file, names do not matter
    Attached Files Attached Files

+ 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