Slicer selecting deselcting

cogswel__cogs

Board Regular
Joined
Jan 3, 2018
Messages
168
I have a slicer called Rep

I would like to walk through seletions on rep with vba.
The list is not the full list in pivot field/slicer as I am only running for some of the reps.

So I can set for first and plan to PDF screen
deselect that rep in slicer
select new rep in slicer
make sure all pivots are updated
pdf screen again.

I have already coded the pdf part just need to now how to select /unselect in a slicer.
And how to make sure it has updated all its associated pivots before pdfing again.

All help is greatly appreciated.
 

Excel Facts

Best way to learn Power Query?
Read M is for (Data) Monkey book by Ken Puls and Miguel Escobar. It is the complete guide to Power Query.
Resolved this using one of the pivot tables to select and deselect in.
Still would love to know if I could have done in slicer.
 
Upvote 0

Forum statistics

Threads
1,215,353
Messages
6,124,463
Members
449,163
Latest member
kshealy

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