A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data.
Here is some code to do what I think you want:
Private Sub Worksheet_Change(ByVal Target As Range)
Dim isect As Range
Set isect = Application.Intersect(Target, Range("AA2"))
If Not isect Is Nothing Then
If Target > 0 Then
With ActiveSheet.PivotTables("PivotTable1").PivotFields("Date")
.ClearAllFilters
.PivotFilters.Add Type:=xlAfterOrEqualTo, Value1:=Target
End With
End If
End If
End Sub
Adjust the pivottable name and field name to match your pivot table
Press Alt+F11 double-click the name of the sheet with the pivot table in the top left corner of the VBE screen, copy the above code into the code sheet on the right
If this answer solves your problem, please check, Mark as Answered. If this answer helps, please click the Vote as Helpful button. Cheers Shane Devenshire