PivotFilters.Add2

MNBUARQUE

New Member
Joined
Aug 27, 2014
Messages
3
Hi !!

What is the difference between
PivotFilters.Add2 and PivotFilters.Add

I have already recorded a pivot table filtering process and sometimes I've gotten a PivotFilters.Add2 recorded and sometimes i've gotten PivotFilters.Add

BR
 

Excel Facts

How to change case of text in Excel?
Use =UPPER() for upper case, =LOWER() for lower case, and =PROPER() for proper case. PROPER won't capitalize second c in Mccartney
Add2 will only work in Excel 2013 (or later!). I'd guess either it's a filter unavailable in previous versions, or perhaps you're using the Data Model when the Add2 gets recorded.
 
Upvote 0
Add2 will only work in Excel 2013 (or later!). I'd guess either it's a filter unavailable in previous versions, or perhaps you're using the Data Model when the Add2 gets recorded.

Thanks a LOT RoryA ! it makes lots of sense;
When I record a filter in Excel 2013, sometimes, I get an Add2. And, if a try to run this recorded slice into excel 2010 it does not work at all !
Unfurtunatelly, on the oposit direction, when I replace a "add2" with a "add" , the macro works in Excel 2010 but stops working in Excel 2013 !!!!!

But....does somebody knows what is the difference between de new Add2 method and the old Add ?

BR
 
Upvote 0

Forum statistics

Threads
1,214,625
Messages
6,120,598
Members
448,973
Latest member
ksonnia

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