Results 1 to 3 of 3

Thread: How to view pivot table external data source in Microsoft Excel 200

  1. #1
    Join Date
    Feb 2012
    Posts
    11

    How to view pivot table external data source in Microsoft Excel 200

    I am trying to just view the current external data source of an Excel pivot table. I can find the path to the Access database and the name of the database, but I can't find the name of the table or query which actually forms the basis for the pivot table. From reading prior posts, I tried using the VBA command MsgBox ActiveWorkbook.PivotCaches(1).SourceDataFile (or CommandText) but this just tells me the path and database name again, not the table/query name. Is there a way to get this information.

  2. #2
    Join Date
    Nov 2010
    Posts
    503

    Re: How to view pivot table external data source in Microsoft Excel 200

    Go to the Data tab, and click on Connections. Find the connection you're looking for, click Properties, go over to the Definition tab, and look in the Command Text box.

  3. #3
    Join Date
    Nov 2010
    Posts
    422

    Re: How to view pivot table external data source in Microsoft Excel 200

    I actually found it through the PivotTable Tools Options tab by clicking on Change Data Source and Connection Properties. Your suggestion works also, but if there are many connections on the workbook, it may not be obvious which connection to look for.

Similar Threads

  1. Replies: 2
    Last Post: 25-02-2012, 10:51 AM
  2. I need help to lock pivot table header in Microsoft Excel
    By cupid! in forum MS Office Support
    Replies: 2
    Last Post: 21-02-2012, 05:01 PM
  3. How to repeat row labels on Pivot Table in Microsoft Excel
    By Thedevotee in forum MS Office Support
    Replies: 2
    Last Post: 17-01-2012, 02:08 PM
  4. Replies: 1
    Last Post: 06-01-2012, 09:35 PM
  5. Replies: 5
    Last Post: 14-05-2011, 10:49 AM

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
  •  
Page generated in 1,714,171,697.41679 seconds with 17 queries