werafa
08-24-2025, 03:54 AM
Hi,
I have several pivot tables set to different pivotcaches that I wish to control from a single timeline slicer.
I am able to program the filter settings using
.PivotFields("Date").PivotFilters.Add2 Type:=xlDateBetween, Value1:=startDate, Value2:=endDate
I now need to read the filter state of the primary pivot, get startDate and endDate, and apply this to the subordinate pivots - but can not deduce the correct object properties to call/read.
(this is currently triggered by a pivottable change event - am attempting to read values from "Target")
Can anyone assist?
Thanks
Werafa
I have several pivot tables set to different pivotcaches that I wish to control from a single timeline slicer.
I am able to program the filter settings using
.PivotFields("Date").PivotFilters.Add2 Type:=xlDateBetween, Value1:=startDate, Value2:=endDate
I now need to read the filter state of the primary pivot, get startDate and endDate, and apply this to the subordinate pivots - but can not deduce the correct object properties to call/read.
(this is currently triggered by a pivottable change event - am attempting to read values from "Target")
Can anyone assist?
Thanks
Werafa