Apr 12 2023 07:01 AM
I have created a scrollable table in Excel. I formatted the range to a table so that I could have a slicer, but the slicer only shows filters for the first 10 rows of data and not the entire table. Is there a way to adjust the settings? Or should I be using some type of VBA/Macro?
Apr 15 2023 01:57 AM
If your slicer is only showing filters for the first 10 rows of data in your scrollable table, it’s possible that the slicer is not correctly connected to the entire table.
To fix this issue, you can try the following steps:
This should connect the slicer to your entire table and show all filter options.
If this doesn’t work, you can try using a VBA macro to refresh the slicer and update its filter options. Here’s an example of a VBA macro that refreshes all slicers in a workbook:
Sub RefreshAllSlicers()
Dim cache As SlicerCache
For Each cache In ThisWorkbook.SlicerCaches
cache.ClearManualFilter
Next cache
End Sub
You can run this macro by pressing Alt+F8 to open the “Macro” dialog box, selecting the macro from the list, and clicking on “Run”. This should refresh all slicers in your workbook and update their filter options.
I hope this helps!