You can change the PivotTable Data Source. I've never done it this way...
1) Click the PivotTable report.
2) On the Analyze tab, in the Data group, click Change Data Source, and then click Change Data Source.
3) The Change PivotTable Data Source dialog box is displayed. Choose External Data
However, I've always chosen a different method, since I was very familiar with using Data > Get External Data > Microsoft Query... and I would write SQL code to get the data I wanted to aggregate using a Pivot Table Report all in Excel.
Skip,
[sub]
Just traded in my OLD subtlety...
for a NUance![/sub]
"The most incomprehensible thing about the universe is that it is comprehensible" A. Einstein
You Matter...
unless you multiply yourself by the speed of light squared, then... You Energy!
If you mean a new sheet with filtered dataset created when a user double-click a cell in pivot table - there is no such setting. However the process can be controlled by macros and new sheet can be copied to new/other workbook. For instance:
1. disable DrillDown for a pivot table (=False),
2. intercept double-click in a parent worksheet (Worksheet_BeforeDoubleClick event) test if proper range was clicked,
3. execute ShowDetail if Target in step (2) is ok,
4. intercept new sheet event of workbook (Workbook_NewSheet event), text if it was added in step (3), you may need a flag for it,
5. copy the sheet if a sheet in step (4) was created by ShowDetail action.
As an alternative to step (4) to identify new sheet,, before executing ShowDetail = True a list of sheets can be created, and next compared with the new one.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.