Pivot Table Drilldown - Jumping to the filtered data source with VBA

hagazissa

New Member
Joined
Jan 7, 2025
Messages
1
Office Version
  1. 365
Platform
  1. Windows
Hello everyone,

I've been using this handy snippets of VBA codes in this thread (post #51 and thanks @jerrysullivan for the great help!), however in the newest version of Excel (I'm using 2411 Build 18227.20162) it stopped working.
Weirdly enough, there is no error message, but it simply creates a new Sheet called "Detail 1" with the popup box saying "Header: Index not found". Meaning that the
"If IsNumeric(vUniqueIdCol) Then" is failing, but other than that my VBA skills fail me and I don't know how I would fix that.

It was working before, but probably since a few updates, since I don't check that sheet too regularly, it stopped working :(

If anyone could help me, that would be greatly appreciated.
 

Excel Facts

Create a Pivot Table on a Map
If your data has zip codes, postal codes, or city names, select the data and use Insert, 3D Map. (Found to right of chart icons).

Forum statistics

Threads
1,225,502
Messages
6,185,350
Members
453,288
Latest member
rlmorales2000

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