Slicer selecting deselcting

cogswel__cogs

Board Regular
Joined
Jan 3, 2018
Messages
181
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

Is there a shortcut key for strikethrough?
Ctrl+S is used for Save. Ctrl+5 is used for Strikethrough. Why Ctrl+5? When you use hashmarks to count |||| is 4, strike through to mean 5.
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,224,823
Messages
6,181,181
Members
453,021
Latest member
Justyna P

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