+ Reply to Thread
Results 1 to 5 of 5

How to write macro to add summary from multiple sheet to final sheet

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

    How to write macro to add summary from multiple sheet to final 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.

  2. #2
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200

    Re: How to write macro to add summary from multiple sheet to final sheet

    Take a look at my code here
    Hope that helps.

    RoyUK
    --------
    For Excel Tips & Solutions, free examples and tutorials why not check out my web site

    Free DataBaseForm example

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

    Re: How to write macro to add summary from multiple sheet to final sheet

    Hi,
    Thanks for reply...
    But my requirement is bit different then the requirement u refereed.

    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.

  4. #4
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200

    Re: How to write macro to add summary from multiple sheet to final sheet

    Why can't you simply adapt what I have previously posted? Set the code to exclude the 5 sheets

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

    Re: How to write macro to add summary from multiple sheet to final sheet

    Hi,
    I tried to exclude those 5 sheet and do it but i m not able to run the macro its giving the error.
    I m new to write the macro, can u please help me in showing how to write code to exclude sheet.

    Thanks in Advance.....

+ 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