I created a Dashboard that includes a few slicers connected to a number of pivot tables. When I update the source data, I run code that will remove the slicers so that I can refresh the pivot tables. Then I try to reconnect the pivot tables to the slicers. The issue I have is that the slicer connections are totally removed and not just unchecked, so the section of code that reconnects the slicers back to the pivot tables causes an error because there are no pivot tables in the list to connect to. Is there something I'm doing wrong in the code that is totally removing the pivot tables and not just unchecking them? Thanks for your help.
Please Login or Register to view this content.
Bookmarks