Pivot Table from Multiple WorkSheets. Can I change (All) literal?

Cameron_C

New Member
Joined
Jun 12, 2018
Messages
1
Hello,
I have written some VBA code to generate a Pivot Table from multiple worksheets.
Everything looks pretty good to me, but I am struggling trying to change the "(All)" dropdown list box entry at the top of the Pivot Table to something a little more descriptive.

I am not sure I can do this.
I have searched through my usual list of books and site, and come up empty.
Basically, when multiple worksheets are consolidated, there is a parameter offered at PivotCache creation time, where I can specify the drop down list box entry for each of the worksheets in the consolidation.
And, then there is one more entry which will display all of the consolidated values.
What I would like to do is replace "(All)" with something more User friendly.

If this is not possible, I can live with "(Al)".

Thanks in advance for any thoughts.

......Cameron
 

Excel Facts

Why are there 1,048,576 rows in Excel?
The Excel team increased the size of the grid in 2007. There are 2^20 rows and 2^14 columns for a total of 17 billion cells.

Forum statistics

Threads
1,224,028
Messages
6,175,993
Members
452,694
Latest member
SaruwatariKaito

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