×
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Contact US

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Pivot Table drill through in a new workbook

Pivot Table drill through in a new workbook

Pivot Table drill through in a new workbook

(OP)
Hi
When i drill through a pivot table, is there a way of opening the drill through in a new workbook instead of a new worksheet?

Thanks,
arv

RE: Pivot Table drill through in a new workbook

Arv,

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,

glassesJust traded in my OLD subtlety...
for a NUance!tongue

"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!

RE: Pivot Table drill through in a new workbook

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.

combo

RE: Pivot Table drill through in a new workbook

(OP)
Hi
What i meant was when i double click into one of cell in the pivot table, the details opens up in a new worksheet.

The aim is to open the details in a new workbook rather in a new worksheet.

Thanks,
arv

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close