
Signature
Toby Erkson
Oregon, USA
Excel 2003 in Windows XP
When you base a pivot table on another pivot table, it uses the same
source data as the original table. You can find that source data, e.g.:
Dim pt As PivotTable
For Each pt In ActiveSheet.PivotTables
Debug.Print pt.PivotCache.SourceType
Debug.Print pt.PivotCache.SourceData
Next pt
But, I don't think you can determine which pivot table was used as the
source.
> A pivot table can get it's data from another pivot table as so:
> Right click in the pivot table and select PivotTable Wizard
[quoted text clipped - 25 lines]
>
> TIA,

Signature
Debra Dalgleish
Excel FAQ, Tips & Book List
http://www.contextures.com/tiptech.html
Toby Erkson - 29 Dec 2004 15:03 GMT
Yeah, I got that far (your example) but the source pivot table is what I'm
after. Rats. Interesting that with all the flexibility of Excel the info can
be set and used by the application but not by the user.
Thanks Debra,

Signature
Toby Erkson
> When you base a pivot table on another pivot table, it uses the same
> source data as the original table. You can find that source data, e.g.:
[quoted text clipped - 7 lines]
> But, I don't think you can determine which pivot table was used as the
> source.