+ Reply to Thread
Results 1 to 3 of 3

getting data from many sheets into one

  1. #1
    Registered User
    Join Date
    09-24-2008
    Location
    Carlisle, PA
    Posts
    1

    getting data from many sheets into one

    For anyone who can help me:

    I have an Excel file with many (over 30) spreadsheets. All are formatted exactly the same, just holding different information. What I need to do is have a macros that goes through each of these sheets and takes the given information that I need. But I don't know how to write this.

    The information I need is in cells B17, D17, F17, I17, K17, and M17. Preferably, this information just gets loaded into a new sheet in the document, say MAIN, in each column. So, B17 goes in A1, D17 goes in A2, etc. From there, each column is creating a line on a graph, which is also a separate sheet, say GRAPH. Everytime a new column is added in MAIN, I need the GRAPH sheet to update as well. This is a whole new issue, too.

    If you need any clarifications, please let me know. And thank you for your help!

  2. #2
    Forum Contributor VBA Noob's Avatar
    Join Date
    04-25-2006
    Location
    London, England
    MS-Off Ver
    xl03 & xl 07(Jan 09)
    Posts
    11,988
    Lisa870523,

    Welcome to the forum. Please take a few mins to read our forum rules below and then add the link to the other excel forum as cross posting without the link is not permitted

    VBA Noob
    _________________________________________


    Credo Elvem ipsum etian vivere
    _________________________________________
    A message for cross posters

    Please remember to wrap code.

    Forum Rules

    Please add to your signature if you found this link helpful. Excel links !!!

  3. #3
    Valued Forum Contributor
    Join Date
    09-19-2008
    Location
    It varies ...
    MS-Off Ver
    Office365 - 64bit
    Posts
    862

    grab n chart ..

    Hi Lisa ... I think this is what you're after ... If you add it into an appropriate event module (like Worksheet Change or Select or possibly only on Chart Activate) then it will generate a new main page with your data and set that data for the chart.

    Please Login or Register  to view this content.
    As a general observation, I'd suggest that you find a better way to identify the cells in each sheet you want to sum; something about those cells that is unique, such as whether they are the only subtotals, or have coloured backgrounds, or have a text in the cell to their left like "Total =". But, if you're sure these cells never change, then I guess you can leave it as it is.

    Hope this helps. MM.
    Noli nothis permittere te terere.

+ 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. Copy data from multiple sheets to single sheet
    By maacmaac in forum Excel Programming / VBA / Macros
    Replies: 15
    Last Post: 10-22-2010, 05:33 PM
  2. Using VLOOKUP with Multiple Data Sheets
    By MJGC in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 01-28-2008, 08:14 PM
  3. Copy Data to Specific Sheets
    By erock24 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 01-25-2008, 11:14 AM
  4. Only certain sheets display data
    By quiksilver1804 in forum Excel General
    Replies: 1
    Last Post: 10-10-2007, 07:33 AM
  5. Macro to transfer data between sheets...
    By ChrisMattock in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 04-20-2007, 10:35 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