I have a Pivot Table whose source data is an external access database. I have created a macro that filters the Pivot Table based on a cell value (Excel 2010). Everything functions as it should other than the Scroll Area. The access database has over 1 million rows, but most of the time, after filtering, there are <10,000 rows with data. However, for some reason, excel is still showing the Used Range as the 1 million rows and is causing the actual scroll bar to be very small and difficult to use. I know I can reset the Scroll Area which i've done, but that only limits how far down you can scroll and doesn't effect the actual scroll bar shown on the screen.
When I've tried to reconfigure the UsedRange property of the pivot table, i've received an error saying that I cannot more or alter a pivot table. Here's the code i've used:
My question is: Is there anyway I can adjust the UsedRange of the Pivot Table so that the scroll bar will accurately display?
Thanks in advance.
Bookmarks