Placement of Pivot Tables & Charts

Jeep56

Board Regular
Joined
Mar 21, 2013
Messages
57
Hi All, I'm trying to automate a report which shows 3 pivot tables and on chart on a worksheet. My pivot tables work fine but, they all want to over-write each other. My 1st pivot is placed at: Set PT = ActiveSheet.PivotTables.Add(PivotCache:=PTCache, TableDestination:=Range("B1"), TableName:=("Achieved Missions"))
The second Pivot is placed at: Set PT = ActiveSheet.PivotTables.Add( _
PivotCache:=PTCache, _
TableDestination:=Range("B12"), TableName:=("Planned Missions")) I really wanted the pivot to be placed at two rows beneath the next blank row. Is there away around this or do I have to plave each pivot on a separate sheet?
 

Some videos you may like

Excel Facts

Pivot Table Drill Down
Double-click any number in a pivot table to create a new report showing all detail rows that make up that number

Scuderia

Board Regular
Joined
Sep 24, 2009
Messages
171
Hi

If the number of rows varies on refreshing the pivots then place them more rows apart than will ever likely have data & use a macro to refresh the pivot tables and hide all bar 2 rows beneath each pivot
 

Jeep56

Board Regular
Joined
Mar 21, 2013
Messages
57
Thanks,
I was using the Pivot Table Wizard to create the pivots. Once I quit using the wizard and created my pivot tables by declaring the Pivot table cache etc
Everything was much easier. My problem now is in collapsing the row fields. I have quite a few row fields I don't want to see.
I changed the row fields to page fields and will try hiding the rows containing the page field filters.

Thanks again for trying to help me
 

Watch MrExcel Video

Forum statistics

Threads
1,123,323
Messages
5,600,954
Members
414,417
Latest member
Nobu

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
Top