+ Reply to Thread
Results 1 to 2 of 2

Extract data from the same range on multiple worksheets in a file to one worksheet

Hybrid View

  1. #1
    Registered User
    Join Date
    05-03-2012
    Location
    Canada
    MS-Off Ver
    Excel 2003
    Posts
    1

    Post Extract data from the same range on multiple worksheets in a file to one worksheet

    Hi,

    I have a workbook with about 40 visible worksheets and about 3 hidden ones. All the worksheets have different names. I would like to take the data from cells A17:N200 (this would include blank rows in case I end up adding data at a later date) from every single visible worksheet and compile them on to one summary worksheet. And I want to keep it dynamic in case a cell value changes in one of the worksheets, it would automatically update on the summary page.

    Is there a VBA code that can do this?

    Much appreciated!

  2. #2
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    53,048

    Re: Extract data from the same range on multiple worksheets in a file to one worksheet

    if you add a blank worksheet at the start and end of your data sheets, and call them Start and End, then when you enter your calcs, you coujust enter =sum('start:End'!C12) or whatever your references are. this way, you can add or remove sheets as needed, and it will add across all the sheets you need it to, and keep the totals as the data sheets change. make sure your "Master" sheet is before the Start sheet though
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

+ 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