I have a pivot table (Pivottable2) which I want to refresh any time the value in cell B3 is changed. I have used the code below but appears that I am doing something wrong.
The name of the macro to refresh the pivot table is "refresht"
Any help greatly appreciated
Private Sub Worksheet_Change(ByVal Target As Range)
If Not Intersect(Target, Range("B3")) Is Nothing Then refresht
End Sub
The name of the macro to refresh the pivot table is "refresht"
Any help greatly appreciated
Private Sub Worksheet_Change(ByVal Target As Range)
If Not Intersect(Target, Range("B3")) Is Nothing Then refresht
End Sub