Private Sub Worksheet_Change(ByVal Target As Range) If Not Target.Address = Range("SelectDate").Address Then Exit Sub Dim PT As PivotTable Dim ptItem As PivotItem On Error Resume Next For Each PT In Worksheets("8c. Pivot").PivotTables With PT.PivotFields("Period (01/MM/YYYY)") If .EnableMultiplePageItems = True Then .ClearAllFilters End If Set ptItem = .PivotItems(Target.Value) If Not ptItem Is Nothing Then .CurrentPage = Target.Value End If End With Next End Sub
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)