Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
chocolate2346
 
Posts: n/a
Default How do I view Pivot Table source data file and field names?

I'd like information on how you can view the name/reference for the source
data of a Pivot Table. For Example, in MS Access and Cognos Impromptu you
can go to SQL view and see where data in a Query is coming from. It's easy
to find the source of formulas in Excel, using the Audit Toolbar. I'd like a
way to quickly view the file name (whether an Excel file or external source)
and field names that were used to create the Pivot Table.
  #2   Report Post  
Paul Sheppard
 
Posts: n/a
Default


chocolate2346 Wrote:
I'd like information on how you can view the name/reference for the
source
data of a Pivot Table. For Example, in MS Access and Cognos Impromptu
you
can go to SQL view and see where data in a Query is coming from. It's
easy
to find the source of formulas in Excel, using the Audit Toolbar. I'd
like a
way to quickly view the file name (whether an Excel file or external
source)
and field names that were used to create the Pivot Table.


Hi chocolate2346

Try this, right click on the Pivot Table, click Wizard, a dialogue box
will appear, click the Back button, a second dialogue box will appear
that shows the source of the data


--
Paul Sheppard


------------------------------------------------------------------------
Paul Sheppard's Profile: http://www.excelforum.com/member.php...o&userid=24783
View this thread: http://www.excelforum.com/showthread...hreadid=467550

  #3   Report Post  
chocolate2346
 
Posts: n/a
Default

No, I'm sorry but the suggestion does not give me what I'm looking for. For
example, the Pivot Tables that I'm currently working with are created from
queries in MS Access databases. When I click the back button as suggested,
below, I get the Get Data button. When I click the Get Data button, I get a
list of "Available Tables and Columns". I cannot see what the name of the
..mdb file is that the Tables and Columns/Fields are coming from. That window
also shows a list of "Columns in your query". However, it does not identify
the Table or Query that each column came from.

"Paul Sheppard" wrote:

Try this, right click on the Pivot Table, click Wizard, a dialogue box
will appear, click the Back button, a second dialogue box will appear
that shows the source of the data


--
Paul Sheppard


------------------------------------------------------------------------
Paul Sheppard's Profile: http://www.excelforum.com/member.php...o&userid=24783
View this thread: http://www.excelforum.com/showthread...hreadid=467550


  #4   Report Post  
Debra Dalgleish
 
Posts: n/a
Default

You can use programming to print the commandtext:

Sub PrintCommandText()
Debug.Print ActiveWorkbook.PivotCaches(1).CommandText
End Sub


chocolate2346 wrote:
I'd like information on how you can view the name/reference for the source
data of a Pivot Table. For Example, in MS Access and Cognos Impromptu you
can go to SQL view and see where data in a Query is coming from. It's easy
to find the source of formulas in Excel, using the Audit Toolbar. I'd like a
way to quickly view the file name (whether an Excel file or external source)
and field names that were used to create the Pivot Table.



--
Debra Dalgleish
Excel FAQ, Tips & Book List
http://www.contextures.com/tiptech.html

  #5   Report Post  
chocolate2346
 
Posts: n/a
Default

I found it!!

Go to Tools, Macro, Microsoft Script Editor. Do a search (Ctrl + F) for
QuerySource. It takes me to just what I'm looking for. It shows the Name of
the file and the Query/Table and Fields.

Hooray!

"chocolate2346" wrote:

I'd like information on how you can view the name/reference for the source
data of a Pivot Table. For Example, in MS Access and Cognos Impromptu you
can go to SQL view and see where data in a Query is coming from. It's easy
to find the source of formulas in Excel, using the Audit Toolbar. I'd like a
way to quickly view the file name (whether an Excel file or external source)
and field names that were used to create the Pivot Table.

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 02:56 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"