+ Reply to Thread
Results 1 to 4 of 4

Pivot Tables - external Data

  1. #1
    Registered User
    Join Date
    11-27-2013
    Location
    Texas
    MS-Off Ver
    Excel 2007
    Posts
    12

    Pivot Tables - external Data

    Hello,
    I have a VBA code that goes to a specific Folder, grabs data from an Excel file, and then puts (data) in another Excel file (template with VBA) file as "Raw Data" tab.
    Then my VBA refreshes 30+ Pivots from that “Raw Data” tab.
    Now “Raw Data” is stored together with 20+ Pivots in one Excel file.
    Challenge:
    Is there a way to keep my "Raw Data" in the external Excel file and simply refresh my Pivots by only "pointing"/linking that source?
    Is this doable?
    Thanks!
    Michael

  2. #2
    Registered User
    Join Date
    02-28-2012
    Location
    England
    MS-Off Ver
    Excel 2007
    Posts
    49

    Re: Pivot Tables - external Data

    Hi Michael,

    I just had a quick go.. and it seems to work.

    In a new workbook, select DATA>From Other Sources>From Microsoft Query
    choose excel files and select your raw data file and select options. Click all the appropriate types and close. You'll see a list of sheets, select the sheet with your data on and select all fields if necessary. You'll then be promted for the type of connection, Choose Pivot Table.

    That should do it.
    Pivot.xlsx
    RawData.xlsx
    Dave
    Last edited by djm601; 03-10-2014 at 05:53 PM.

  3. #3
    Forum Contributor
    Join Date
    01-30-2011
    Location
    Vancouver, Canada
    MS-Off Ver
    Excel 2010
    Posts
    604

    Re: Pivot Tables - external Data

    Put the data in one workbook with all the pivot tables linked to that workbook. Then use..

    ActiveWorkbook.RefreshAll

  4. #4
    Registered User
    Join Date
    11-27-2013
    Location
    Texas
    MS-Off Ver
    Excel 2007
    Posts
    12

    Re: Pivot Tables - external Data

    Great tips.

    Worked!

    Thank you much!

+ 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. help on pivot tables using external data sources
    By Tewari in forum Excel General
    Replies: 2
    Last Post: 07-14-2020, 11:06 AM
  2. Move workbooks with pivot tables & external data
    By duanecwilson in forum Excel General
    Replies: 3
    Last Post: 03-17-2008, 05:28 PM
  3. Auto updating pivot tables using external XML data
    By serdar in forum Excel - New Users/Basics
    Replies: 0
    Last Post: 03-12-2006, 02:29 AM
  4. [SOLVED] Refresh External Data Then All Pivot Tables Based On It
    By Dave in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 12-21-2005, 05:35 PM
  5. External Data and Pivot Tables
    By Jaco in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 10-03-2005, 12:05 PM

Tags for this Thread

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