Jarvonimbus
MIS
Hi There,
I have a problem with some code which causes a pivot table to change.
I have a page with drop-down boxes. After these are selected, I hit a button and want it to update three pivot tables which are in the workbook
I get "Run-time error 1004: Unable to set the _Default property of the PivotItem class"
This is the code which I am using to make the first change
Set MyRange3 = Range("Dealer1")
Sheets("Tick List Dealer").Select
ActiveSheet.PivotTables("PivotTable1").PivotFields("Dealer").CurrentPage = Range("Dealer1")
Very grateful for any help!
I have a problem with some code which causes a pivot table to change.
I have a page with drop-down boxes. After these are selected, I hit a button and want it to update three pivot tables which are in the workbook
I get "Run-time error 1004: Unable to set the _Default property of the PivotItem class"
This is the code which I am using to make the first change
Set MyRange3 = Range("Dealer1")
Sheets("Tick List Dealer").Select
ActiveSheet.PivotTables("PivotTable1").PivotFields("Dealer").CurrentPage = Range("Dealer1")
Very grateful for any help!