Apologies if this has been answered, I'm struggling to know what to search for as I don't know what I'm doing is "called".
I have two pivots tables of the same data, just displayed differently for reporting purposes, i.e. one has a timeline running vertically, the other horizontally. They are controled by slicers which are connected to both pivots. However I want to be able to ShowDetail in one and at the same time to ShowDetail in the other.
If that doesn't make much sense, the code view is:
ActiveSheet.PivotTables("PivotTable1").PivotFields("FIELD1").PivotItems("Item1").ShowDetail = True 'having changed from False
and upon changing from False to True in PivotTable1, I want this change to be applied to PivotTable2. It feels like it should be quite straightforward, but I'm struggling. I want to pass the command which has been applied to PivotTable1 to PivotTable2 but don't know how to do it.
I have two pivots tables of the same data, just displayed differently for reporting purposes, i.e. one has a timeline running vertically, the other horizontally. They are controled by slicers which are connected to both pivots. However I want to be able to ShowDetail in one and at the same time to ShowDetail in the other.
If that doesn't make much sense, the code view is:
ActiveSheet.PivotTables("PivotTable1").PivotFields("FIELD1").PivotItems("Item1").ShowDetail = True 'having changed from False
and upon changing from False to True in PivotTable1, I want this change to be applied to PivotTable2. It feels like it should be quite straightforward, but I'm struggling. I want to pass the command which has been applied to PivotTable1 to PivotTable2 but don't know how to do it.