Custom excel function not updating
If the data you are pivoting contains only numeric data then Excel will sum the data.
If multiple pivot tables are based on the same data source, you can create a slicer, and connect it to one or more of those pivot tables. Selected = False End If Next si Long exit Handler: Application. Enable Events = True Exit Sub err Handler: Msg Box "Could not update pivot table" Resume exit Handler End Sub The final step is to move the slicers -- the short list slicer will go onto the main sheet, beside the original pivot table.In Excel 2013, you can also use slicers on formatted Excel tables.You can use programming to control the slicers, and this page has sample code that you can use.I do this so that additional rows of data can be added without having to update the range that the pivot table is looking at.(It is much better to create dynamic pivot table ranges though.) In the first example, my pivot table is pulling from the populated range and all my fields default to the sum function.