+ Reply to Thread
Results 1 to 7 of 7

Pulling Up Data From Multiple Workbooks

  1. #1
    Registered User
    Join Date
    03-21-2013
    Location
    new york
    MS-Off Ver
    Excel 2010
    Posts
    5

    Pulling Up Data From Multiple Workbooks

    I was hoping you would be able to share your expertise on a problem i am having.

    1. i need to consolidate different sets from multiple workeets into a single worksheet - so i can use a pivot table to chart data for a dashboard.
    2. i haven't seen any way to do this in the manner in which i require - ie.
    -- go to sheet 1... select all data in the sheet (until the last row)
    -- THEN go to the next sheet... etc.
    -- also i want to make sure the sheets are not continuously deleted as it might ruin the charting function from the pivot tables(?)

    Any advice - would be most appreciated

    Best,
    Attached Files Attached Files

  2. #2
    Forum Guru MarvinP's Avatar
    Join Date
    07-23-2010
    Location
    Woodinville, WA
    MS-Off Ver
    Office 365
    Posts
    16,169

    Re: Pulling Up Data From Multiple Workbooks

    Hi gedalaihr and welcome to the forum,

    This code should do the trick. Find it also in the attached.
    Please Login or Register  to view this content.
    Attached Files Attached Files
    Last edited by MarvinP; 03-21-2013 at 11:53 AM.
    One test is worth a thousand opinions.
    Click the * Add Reputation below to say thanks.

  3. #3
    Registered User
    Join Date
    03-21-2013
    Location
    new york
    MS-Off Ver
    Excel 2010
    Posts
    5

    Re: Pulling Up Data From Multiple Workbooks

    This is super awesome - !

    if it possible to rearrange it so the column length is also dynamic?

  4. #4
    Registered User
    Join Date
    03-21-2013
    Location
    new york
    MS-Off Ver
    Excel 2010
    Posts
    5

    Re: Pulling Up Data From Multiple Workbooks

    Also...

    when i create a pivot table from the summary sheet - and try to run the marco again (ie. to simulate data refresh) the macro doesn't work?

    it might be because the macro is pulling data from the pivot table as well - is it possible to restrict the macro to only run on the three sheets (forecast, actuals, benchmark)?

  5. #5
    Registered User
    Join Date
    03-21-2013
    Location
    new york
    MS-Off Ver
    Excel 2010
    Posts
    5

    Re: Pulling Up Data From Multiple Workbooks

    i.e. see updated spreadsheet
    Attached Files Attached Files

  6. #6
    Forum Guru MarvinP's Avatar
    Join Date
    07-23-2010
    Location
    Woodinville, WA
    MS-Off Ver
    Office 365
    Posts
    16,169

    Re: Pulling Up Data From Multiple Workbooks

    Hi,

    The macro starts from the left most sheet and works to the right. The summary sheet needs to be the first one on the left.

    Try putting your pivot table on the Summary sheet and off to the right and not on row 1. See if that helps.

  7. #7
    Registered User
    Join Date
    03-21-2013
    Location
    new york
    MS-Off Ver
    Excel 2010
    Posts
    5

    Re: Pulling Up Data From Multiple Workbooks

    Quote Originally Posted by MarvinP View Post
    Hi,

    The macro starts from the left most sheet and works to the right. The summary sheet needs to be the first one on the left.

    Try putting your pivot table on the Summary sheet and off to the right and not on row 1. See if that helps.
    no - luck!!

    any other thoughts?

+ 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