Hi all,
I seek your help again.
I have this VBA:
Sheets("Data_analysis").Select
Set pvFld = ActiveSheet.PivotTables("Data_analysis").PivotFields("Entered on")
strFilter = ActiveWorkbook.Sheets("MAIN").Range("C3").Value
pvFld.PivotFilters.Add2 xlCaptionEquals, , strFilter
It worked perfectly fine until today (excel v.2402 Build 17328.20612).
Now we upgraded to v.2408 (Build 17928.20216) and it crashes with "Run time error 1004 - application-defined or object-defined error"
Any idea why?
Thank you
I seek your help again.
I have this VBA:
Sheets("Data_analysis").Select
Set pvFld = ActiveSheet.PivotTables("Data_analysis").PivotFields("Entered on")
strFilter = ActiveWorkbook.Sheets("MAIN").Range("C3").Value
pvFld.PivotFilters.Add2 xlCaptionEquals, , strFilter
It worked perfectly fine until today (excel v.2402 Build 17328.20612).
Now we upgraded to v.2408 (Build 17928.20216) and it crashes with "Run time error 1004 - application-defined or object-defined error"
Any idea why?
Thank you