Solved

Make click on Excel chart and automatically a new WorkBook is open with the chart's pivot table

Posted on 2014-01-23
5
367 Views
Last Modified: 2014-01-25
I have a excel file in which I have 5 pivots tables and its charts.

Pivot tables are in sheet2 and charts are in sheet1.

What I want to do is to make click on one chart and then automatically the chart's pivot table is shown in a new workbook. A new workbook with only one pivot table.
0
Comment
Question by:acunaara
  • 3
  • 2
5 Comments
 
LVL 29

Expert Comment

by:gowflow
ID: 39805761
Could you post this workbook that have the charts linked to the pivot ?
gowflow
0
 

Author Comment

by:acunaara
ID: 39807203
The info is confidential but I made an example of what I want to do.

Please see attach file
Pivot-and-Chart.xlsm
0
 
LVL 29

Accepted Solution

by:
gowflow earned 500 total points
ID: 39807911
Is this what your looking for ??

I created 2 other charts but not pivot
I removed the link you had on the chart to point to a macro and instead created a button htat hold a code that will call a macro in the module.

Please test it and check the result. It will only work on Pivot as this is what you requested.

Let me know your comments.
gowflow
Pivot-and-Chart-V01.xlsm
0
 

Author Closing Comment

by:acunaara
ID: 39808056
Thank you dude

This is very useful!!
0
 

Author Comment

by:acunaara
ID: 39809708
Just in case:

The TableRange1 property doesn't include page fields. So, I just changed it to TableRange2.

http://msdn.microsoft.com/en-us/library/office/aa215737(v=office.11).aspx

Kind regards and many thanks
0

Featured Post

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction This Article briefly covers methods of calculating the NPV and IRR variants in Excel as well as the limitations in calculating and interpreting IRR results. Paraphrasing Richard Shockley, author of my favourite finance reference tex…
Approximate matching with VLOOKUP and MATCH seems to me to be a greatly under-used technique, and one which is vital for getting good performance out of large lookups. Until recently I would always have advised using an exact match for simplicity an…
This Micro Tutorial will demonstrate in Google Sheets how to use the HYPERLINK function to create live links inside your spreadsheet.
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

773 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question