Good morning,
Any idea why this code keeps giving me an error??
Private Sub Worksheet_Activate()
Sheets("PT Obj. e Ind.").PivotTables("PT_Obj_e_Ind").RefreshTable
End Sub
Thanks!!
I am working in Excel 2010, and have a pivot table that is pointed to a worksheet where the data changes every week.
Sometimes there is data in the rows, and very occasionally, my report returns 'no data' - so my source data has column headers, but there is nothing for the pivot table to...
We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel
Which adblocker are you using?
Disable AdBlock
Follow these easy steps to disable AdBlock
1)Click on the icon in the browser’s toolbar. 2)Click on the icon in the browser’s toolbar. 2)Click on the "Pause on this site" option.
Go back
Disable AdBlock Plus
Follow these easy steps to disable AdBlock Plus
1)Click on the icon in the browser’s toolbar. 2)Click on the toggle to disable it for "mrexcel.com".
Go back
Disable uBlock Origin
Follow these easy steps to disable uBlock Origin
1)Click on the icon in the browser’s toolbar. 2)Click on the "Power" button. 3)Click on the "Refresh" button.
Go back
Disable uBlock
Follow these easy steps to disable uBlock
1)Click on the icon in the browser’s toolbar. 2)Click on the "Power" button. 3)Click on the "Refresh" button.