pvFld.ClearAllFilters
Alex,What happens if you add this line before your Add2 line(s) ?
VBA Code:pvFld.ClearAllFilters
VBA doesn't wotk because the field I want to update is in the "Filters" section of the pivot field.Can you start with showing us what the pivot table looks like and also what is in Main B3 (have the cursor in B3 and include the formula bar in what you show).
That's why it is always useful to give us some visibility of your data.VBA doesn't wotk because the field I want to update is in the "Filters" section of the pivot field.
pvFld.ClearAllFilters
pvFld.CurrentPage = CDate(strFilter)
Alex,That's why it is always useful to give us some visibility of your data.
Try this:
VBA Code:pvFld.ClearAllFilters pvFld.CurrentPage = CDate(strFilter)