Copy / Move Slicer Linked Pivot Charts To New Workbook

Mar 15, 2013

I have a Reporting workbook I designed. There is a "Parent" workbook with the following design.

It has 6 Pivot Tables on a Sheet called "Data"

It has 6 Pivot Charts that were created from these tables on a page called "Summary"

These 6 Pivot Charts are all linked through a pair of slicers.

There is a "control" page which has instructions and buttons that trigger "Refresh All" and "Create Child Workbok".

This design is so that someone unfamiliar with excel could conceivably create the final product.

Essentially I have written/put together VBA to Create a new workbook "child" which has should be a funcitoning copy of the "parent".

The problem is the copiedmoved (I have tried both) Pivot Charts no longer update/refresh when the pivot tables change. I have script that reconnects the Pivot Tables to the Slicers. Slicers are fully funcitonal. Links in cells are fully functional.

Some of this code might look familiar.

Code:

Sub createWB()
' Copies VBA modules, Calls
Dim wbNew As Workbook, wbT As Workbook
Set wbT = ActiveWorkbook
On Error Resume Next
Kill ("PATHmod1.bas")
Kill ("PATHmod2.bas")

[code].....

View 2 Replies


ADVERTISEMENT

Can Move Source Worksheet Of Linked Charts In PowerPoint

Jun 22, 2014

I have created a powerpoint that has linked charts from excel. Stupidly, I have saved both of these files (powerpoint and excel) on my desktop.

I need to save them on another drive (so they can be accessed by others) but i am worried that if i move the original excel file, it will break the links for the charts in the powerpoint file....

I have over 150 charts so I don't fancy going through and re-pasting each chart.

View 1 Replies View Related

Updating Pivot Filter With Another Pivot Updated By Slicer

Jul 17, 2014

I have this problem which I have simplified below:

Sheet 2 contains a Pivot table. One of the report filters is "Month-Year" (Eg, May-14 - in date format 'mmm-yy') which is selected by a Slicer on sheet 1.

Cell D1 on Sheet 2 contains a formula which calculated/displays the mmm-yy of the same period last year (eg May-13).

I want a code so that when I select the 'Month-Year' Slicer to filter the pivot table on Sheet 1 (eg to May-14), another Pivot on Sheet 3 is filtered with the previous year mmm-yy (May-13).

View 5 Replies View Related

Formula That Is Similar To The Pivot Slicer?

Jan 31, 2014

I have a list box contains of customer name and I used that to set up formula based on your selection in the list box. However, I wonder if there is a way that can select multiple customers in the list box and it will add up all that customers from your multiple selection like in the pivot slicer. I don't know if we have any formula that can do that complicated thing.

View 2 Replies View Related

Group Dates In A Pivot Table Slicer

Dec 31, 2013

I am currently working with a pivot table someone else created. The data set has dates only, in the correct format. The slicer has the dates categorized by month and excludes the dates in which there was no data.

Here is my problem: I added a few new months of data. Everything is calculating just fine in the Pivot table. However, my slicer where I should be able to pick the month now has these months listed as all their individual dates. I want to put the December dates under "December" and so on. The data that was present before I loaded anything additional still has this feature.

How do I group these dates, to be able to them as months? By the way, the grouping function is grayed out.

View 3 Replies View Related

Removing Blanks From Pivot Table Slicer Within Macro

Feb 20, 2014

I created a macro to create the beginning of a pivot table- just the rows and slicers, because when I tried making a longer macro to create the entire pivot table (formatting, etc) I couldn't get the macro to work.

So I do get all the vertical rows I want, and I do get all the slicers I want. But I get blank space. I think this is because the pivot table is created from another tab, and the length of data in that tab will vary from file to file (I'm doing another 30 or so of these, all with varying amounts of data, but the same data categories).

Anyway, I get slicers, but in addition to getting the categories I want, I also get "(blank)" below the names in the slicers. Is there a way to add some code to the macro to remove the blanks so I don't get this field?

I have copied and pasted the macro below, with identifying data changed.

View 4 Replies View Related

One Slicer For Multiple Pivot Tables With Different Data Source

May 2, 2013

I have multiple pivot tables with different data source. I wish to have one slicer which control all the pivot tables. I would have one common colum for all the pivot tables which is the one i wish to control for instance the person in charge. Note that all my pivot tables are from different data source. how to do it?

View 1 Replies View Related

How To Set Selected Slicer Or Filter Items On One Pivot Equal To Another

Sep 26, 2013

I have two pivot tables, both of which source the same sheet of data. Each record in the data has two fields, Region ID of person and Region ID of facility, that reference the same list of Region IDs via vlookup (it's just numbers 1-12). Either one or both can be blank. One pivot outputs counts by person Region ID, and the other, by facility Region ID.

Using a combination of nested IF statements and vlookups, I tried making a third Region ID field that could be used as a slicer to control both tables, but what I end up with is an undercount in one of the tables. The only thing that works so far to output the correct counts is having two separate slicers, the facility Region ID being the slicer for one and the person Region ID being the slicer for the other. If the end user wants to see counts for one Region ID, they have to manually set one slicer equal to the other. But what we want is just for the end user to be able to control both tables just by pushing a single number, Region IDs 1-12.

I can make one of the slicers hidden but then how do I get the hidden slicer to automatically select Region ID values equal to the nonhidden slicer? Alternatively, I could somehow program a combo box or list to control the two different slicers, then the slicers would be hidden and the user would see only the combo box/list. (I guess in either of these alternatives, I could just use a report filter instead of a slicer; either way, I still have to get items in one to automatically select based on the user's selected items in another).

FYI, some of the options I looked up involved PowerPivot, which I do not have access to. VBAs/macros are ok.

View 2 Replies View Related

Filter Pivot Table And Move To New Workbook

Mar 14, 2012

I have the following Pivot Table:

Business DeveloperDonna HoffmanCount of Activity CountDate Client NameContact NameActivity Name3/5/20123/6/20123/7/2012Grand TotalxxxxxxxxxxxxxD'Agostino, Esq., Michael C.Email Sent (CLIENT)11xxxxxxxxxxxxxxxx11xxxxxxxxxxxxxxMartin, DavidEmail Sent (CLIENT)11xxxxxxxxxxxxxxxxxx11xxxxxxxxxxxxxxxxxxYoder, MichaelEmail Sent

[Code] .......

I would like to filter by Business Developer and copy and paste all text to a new workbook. I would need to repeat the same code for all Business Developers and the number of columns will vary.

This is the code I have so far. I get an error msg when it tries to paste the data to the new workbook.

Code:
Macro5 Macro
' Macro recorded 3/14/2012 by MPS Group
'
'
ActiveSheet.PivotTables("PivotTable2").PivotFields("Business Developer"). _
CurrentPage = "Donna Hoffman"
Columns("A:L").Select

[Code] .........

View 1 Replies View Related

Make One Slicer Mirror Filters Of Another Slicer

Mar 28, 2014

I' have two slicers that each control two pivot tables. The slicers both are for the same field ("Department") but I guess the pivot table structure differences don't allow me to simply have one control all four tables.

Since both slicers contain the exact same options from the same field on the same origin table, I would like to problematically ensure that when department "A" is selected on slicer1, it is also selected on slicer2. When departments "A, B, & C" are selected on slicer1, the same are selected on slicer2. When filters are cleared... you get the picture.

View 5 Replies View Related

Anchoring Pivot Chart And Slicer Without Locking Entire Worksheet?

Jul 19, 2012

I am trying to create a "dashboard" style report using a pivot table and pivot chart with slicers. All of these objects (table, chart and slicers) are in the same worksheet. However, the users of the report (read executive management) are not very Excel savvy and I want to protect the format of the report. So, I want to protect the sheet and only allow access to the Pivot table options. However, in order to make the slicers usable, it appears that I have to allow them to edit objects. This unfortunately means that they can then move those objects (the Slicers and Chart).

I am looking for a way to lock the slicers and pivot chart in position. I have already accounted for column width changes created by modification of the pivot table parameters by selecting the "Don't move or size with cells" option under PivotChart Tools > Size > Format Chart Area > Properties > Object positioning. This is the default/locked-out setting for the slicers.

View 7 Replies View Related

How To Temporarily Disable PowerPoint Charts Which Are Linked

Nov 9, 2011

How to temporarily disable PowerPoint charts which are linked to Excel. The problem is, whenever I copy a slide and try to paste it elsewhere, Office attempts to update all of the links in the entire PowerPoint. Since the slide deck has so many links, this takes an awful lot of time to do. I don't want to break the links completely as I would lose any ability to keep them dynamic. I've checked all of the advanced options within PowerPoint, but cannot find any way to temporarily disable links from updating.

View 1 Replies View Related

Slicer Connections Lost When Copying To New Workbook

Jun 12, 2014

The main objective of the code is to create different workbooks that are going to be send to different people(with only their data).

I am using the filter to delete the data that I don't need and then create a new workbook, save it and close it. This has been working fine.

The issue is that I have two slicers in the 'DistMenu' sheet. When I open again the newest workbook, they slicers are disconnected to the pivot tables. This can be fix manually by selecting the slicers --> PivotTables Connections etc

I use the macro recording to get a code and work from there, but is giving me error '1004' "Unable to get the PivotTables property of the Worksheet class".

View 1 Replies View Related

Building Legend Of Chart Titles Linked To Charts

May 14, 2014

I have a sheet with about 50-60 charts and I am hoping to have a master list of chart titles on the side, how can I link these titles with the charts themselves?

View 1 Replies View Related

Sending Linked Charts - Data Missing Or Can't Display

Aug 1, 2014

On a weekly basis I update a suite of charts in one workbook that are created from several other linked workbooks. Once compiled I send this via email to a colleague who incorporates it into another report by printing the charts as a pdf. For some reason he often ends up with erroneous data (zero's where there shouldn't be on the charts), or often his system doesn't display certain elements like titles and axes etc

We think his system is spending resource looking for the original data and getting itself knotted up, but surely there should be a way of delinking the charts but maintaining their integrity as they are saved?

View 1 Replies View Related

How To Access Excel Charts Series Collection Linked To Empty

Apr 23, 2003

I'm trying to use VBA to automatically change the data displayed in an excel chart. To do this I count the number of items displayed on the chart using Chart.Seriescollection.Count. I then loop over the Chart.Seriescollection(x) and try to change the Chart.Seriescollection(x).Formula string to link to the cells I want.

Problem is that, sometimes, the cells the curve is currently linked to are empty. Such a curve does show up in the Count, but I can't access the .Formula, even though this can be done manually from within Excel.

View 9 Replies View Related

Pivot Charts Versus Charts

Sep 5, 2012

I am trying to put some charts into a report that is pivot table based. I have some code that will work if the pivot tables stay stagnic but the users may change the tables around so that could be an issue of new data. I have the following code where I changed the source to the pivot table name (general name because of numberous report possibilites). I have taken out the other charts because they are just a variation of the chart 1. I am crashing on the line with the * on it.

Sub UWTierChart()
Dim oCell As Range
Dim oChart As Chart
Set ws_data = ActiveSheet
'Chart 1
Sheets(wsPT).Select
Range("B21").Select

[code]....

View 2 Replies View Related

Refresh Pivot Tables Linked To Pivot Table

Jul 25, 2006

I currently have several pivot table that's linked to a single pivot table(let's call it X) in the same workbook. I'm doing this to limit the file size because the data in X comes from a text file that has millions of lines. However, it's such a pain every time I need to update the tables because simply clicking "refresh" does not update those tables that are linked to X with new data. I would have to instruct the wizard in every linked table to point to X every time. I'm trying to write a small program to re-point to X for each of those other pivot tables whenever i refresh data. However, after trying to record the steps to do this I'm still unable to run these

Sub Macro1()

ActiveSheet.PivotTableWizard SourceType:=xlPivotTable, SourceData:= _
"PivotTable1"

End Sub

View 6 Replies View Related

Copy/Move Worksheet To New Workbook

Sep 12, 2006

I want to copy old worksheet from old.xls (screen 1) to new book new.xls
(screen 2 ) on an extended desktop.

Screen 1 containing old.xls file in originally opened excel.

Screen 2 has new file new.xls in newly opened excel.

Dragging over is unsuccesful.

So is Edit-Move or Copy to new.xls.

View 8 Replies View Related

Months To Be Sorted In Ascending Order In Pivot Table, Want To Use Multiple Colors In Pivot Charts

Sep 18, 2008

My input data for Pivot table has a column named "Month". The month values are like April 07, April 08, Nov07 in random order for period between Jan 07 to Aug 08.

When I create a pivot Table, this column is sorted alphabetically (April 07 is followed by April 08) but I need it to be sorted in the ascending order with respect to month (April 07 is followed by May 07).

I further use this data to plot a Pivot Chart. There is another issue here. I want to use separate colors for each series. I do not know how to achieve above 2 things.

View 9 Replies View Related

Move/Copy A File Workbook Without Opening

Sep 6, 2006

copying within a workbook...

I have an external .xls file I'd like to copy to a new directory from within VBA. I know how to create the directory, but is there a way to do it other than opening the required file, and doing the " saveas" thing?

Can I just create a copy directly?

View 5 Replies View Related

Excel 2007 :: Chart Disappears When Copy Tab Or Move To Another Workbook?

Apr 15, 2011

In versions prior to Excel 2007, I was always able to copy a chart when I copied a tab. However, when I copy a tab in 2007, the data copies fine, but the chart does not. Something similar happens when I try to move a tab with a chart on it to another workbook.

View 5 Replies View Related

Move All Charts To 1 Worksheet

Nov 28, 2006

With the above code, is it possible to trasfer all selected charts, on to a new spreadsheet and print them to fit on one page Landscape, no margins?? Or is that stretching it, i tried it but i print them all A4

View 2 Replies View Related

VBA To Copy Pivot Table To Workbook?

Jun 19, 2012

I'm looking for a VBA that can copy a PivotTable to my workbook. The PivotTable is at another location. When I open my workbook, this VBA must replace the old PivotTable by the most recent PivotTable. How do I do this with VBA?

View 1 Replies View Related

Drop Down Box Linked To Pivot

Feb 8, 2007

I have a Drop Down / Combo box and when a value is selected I want it to change/update multiple pivot tables.

I am trying to get it to change for one pivot table first and I have the following
Sub DropDown1_Change()
ActiveSheet.PivotTables("PivotTable1").PivotFields("SMS").CurrentPage = [NOT SURE WHAT GOES HERE]
End Sub

I have read somewhere that I can't link directly to the values in a combo box, but I can use the cell link? If so, how do I do that?

View 14 Replies View Related

Pivot Tables Not Showing Linked Entries

May 7, 2014

I have an overview spreadsheet that shows all projects being worked on by my staff.

Each row in the overview sheet represents a single project.

Each row includes the project leader name and a difficulty rating of H, M, or L.

The data for each row in the overview spreadsheet is imported from individual project spreadsheets using formulas.

The formula below imports a difficulty rating of H, M, or L.

=LEFT('IndividualSheets[Proj123.xlsm]Worksheet'!$C$6,1)

I am trying to use a pivot table to track the number of H, M, and L difficulty projects carried by each employee. The pivot table appears to set itself up correctly, listing the names of each employee and recognizing that the possible entries are H, M, and L. The attached image "Capture" shows the results of one project leader.

The problem I have is that it does not show correct project totals, it shows "0" for every entry. For example, instead of showing "15" H level projects for BGa, it shows "0".

If I manually enter an "L" into the overview sheet instead of a link to a cell in the individual project spreadsheet, that entry will show up in the pivot table totals. In the attached image, I manually entered 4 L level entries into the project, but there are several more H,M, and L ranked entries assigned to this employee that aren't included in the sum. I have tried using "Count" and "Sum" in the pivot table properties without success.

Capture2.PNG
Capture.PNG

View 2 Replies View Related

Linked Pivot Table Doesn't Refresh

Nov 13, 2012

I have two pivot tables on the same worksheet, tied to different tables, but both have a "date" column. When I change the date in either tables Report Filter this code does change the page field in the other one, but the data does not refresh. My primary table is PivotTable2, once I can get this working I would hide that report filter in PivotTable1.

Code:
Private Sub Worksheet_Activate()
Application.ScreenUpdating = False
PivotMacro
PivotMacro1
Application.ScreenUpdating = True
End Sub

[code].....

View 2 Replies View Related

Pivot Charts Automation

Sep 16, 2009

pivot chart automation. I have a tab that contains thousands of rows and it grows larger on a weekly basis. On this tab is 169 peices of hardware I manage. Each week 1 row of data is added to all 169 peices of hardware. The data from the main tab contains metrics I need to chart. However, I am in need of a way of selecting a specific peice of hardware and having the pivot charts update automatically. There will be 26 Charts and going through each chart and selecting the proper hardware is going to take far too long.

Is there any way i can select just 1 peices of hardware from the data tab and have it populate all of these charts?

View 9 Replies View Related

Pivot Table In Excel Linked To Access Database?

Aug 28, 2013

i have a excel file which has a formatted pivot table which displays customers by country in row A 2 down to 36 with approx 36 customers in the values field i have volumes by alarms and tickets along the column labels it shows the previous 7 days with date and then the alarms and tickets in each row. My problem is i am trying to find the code or location where i can change the only bring back 7 days data to another value. i have searched all connection properties and definitions. I know there is a value somewhere that allows you to change this number to say from 7 days to 30 days. If you click on the column labels for date it shows the dates back 3+ years but it still if i tick more than 7 days only show 7 in the table.I have image if needed

View 1 Replies View Related

Print Linked Chart & Each Page Field Of Pivot Table

Oct 31, 2008

I have linked a graph to update from a pivot table. I would like to print a copy of a graph and pivot table for each item in the page field.
Can a macro loop through each page field and print?Is there a way to send them to the printer all at once? (I noticed the printer hangs when manually printing page by page)

I've tried "view all pages of pivottable" but then I lose the view of the chart. I tried recording the events but the number of items in the page field changes with each data update and I'm not sure how to write code to accept this.

View 8 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved