I have a workbook with a pivot table on one sheet (Pivot Budget), and a form with the "getpivottable" data on another sheet (Completed Budget). I have created a slicer for the pivot table and placed the slicer on the sheet with the form. All was well & good until I protected the sheet with the form. I used
so that I could (successfully) use a button to update the form, but this code does not allow me to select the fields in the slicer.
Any ideas?
Code:
With Worksheets("Completed Budget")
.Protect Password:="BB", userinterfaceonly:=True
.EnableOutlining = True
End With
Any ideas?