Excel pivot table refresh sourcing Access DB

John P

Board Regular
Joined
Oct 17, 2002
Messages
108
I have an Access DB that is sourced for various reporting pivots in Excel. The pivots were created with sort logic (i.e. Region, Last Name, First Name). When I add new data to the Access DB table and refresh the pivots in Excel, the data is present, but it is not sorting per the pre-existing rules. The new contacts are added at the bottom of the region and if there are more than 1 new contacts, they are sorted correctly, but not with the others.

For example, the current report looks like:
Region 1 Abie, Mike
Bread, Jack
Yaz, Carl
Ayer, Mike (new addition)
Toad, Joe (new addition)

Any ideas or suggestions to correcting this issue are greatly appreciated. Thanks
 

Excel Facts

Return population for a City
If you have a list of cities in A2:A100, use Data, Geography. Then =A2.Population and copy down.
Yes, this is a pain. You're going to have to write up some code to perform the task of sorting. I don't have that code off the top of my head, but just Record a Macro, Sort the Pivot table, stop Recording, and then place the code that the Macro wrote after the code that you already have which Refreshes the Pivot.
 
Upvote 0

Forum statistics

Threads
1,221,572
Messages
6,160,575
Members
451,656
Latest member
SBulinski1975

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top