Updating PIVOT table

scotball

Active Member
Joined
Oct 23, 2008
Messages
375
Hey,

So here's the latest problem...

I have created a dashboard based on a number of pivot tables. (Using GETPIVOTDATA tags)

One of the fields in the Dash tab is Week which is a drop down menu of 1-13. (GLA Dash C3)

I have two pivot tables in seperate tabs. (BottomQuartile1 and BottomQuartile2) both have Week as Report Filter.

At the moment when I change the week in Dash from 4 to 5 i have to manually go into the two BottomQuartile tabs and alter the week to match.

Is there anyway I can automate this process so that when i update the week in Dash it will update the Week in the other two tabs?

Thanks,
Lee
 
Last edited:

Excel Facts

How can you turn a range sideways?
Copy the range. Select a blank cell. Right-click, Paste Special, then choose Transpose.
In the Visual Basic Editor go to the Immediate Window, type:

Application.EnableEvents = True

and press Enter. Then try changing the value.
 
Upvote 0
Hey Andrew,

At last :) It works perfectly now. you are indeed the MVP :)

So happy now!!

Thanks!!!!

Lee
 
Upvote 0
Hello,

I have been scratching my head with a similar problem.
I have two Pivot tables (Last_Account_Item_Lookup, Max_Account_Item_Lookup) that I want to change to the same Account as it is changed on another sheet. One Pivot table (Last_Account_Item_Lookup) also has a date field that I want to change based on a vlookup on another sheet. Seems simple to me.

I have the Account value as a named range Route on sheet Make Stuff which I make the selection.

I want the Account to be the same on each Pivot table and the Date to change when I click a Finish button macro.

This is what I have recorded, but can't get it to change
Code:
Sub ChangeAccount ()
    Sheets("Max_Account_Item_Lookup").Select
    With ActiveSheet.PivotTables("PivotTable1").PivotFields("Account")
        .PivotItems(Route).Visible = True
    End With
End Sub

I am using Excel 2002 SP3
 
Upvote 0

Forum statistics

Threads
1,214,923
Messages
6,122,289
Members
449,077
Latest member
Rkmenon

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top