Slicer Macro defeats slicer functionality

dmcgimpsey

Active Member
Joined
Mar 30, 2004
Messages
268
Hi Team:

I have assigned a macro to a slicer object, but when I click on the slicer button, the macro executes but the slicer doesn't work.

To keep it simple, the slicer only has a msgbox("Slicer clicked")


My intention is to use slicers to run - and to then filter the raw data spreadsheet based on all the slicer settings - this lets the user export the raw data as they see fit. the data is in an excel table, which is not relevant to this issue, but it is best practice for multiple pivots and slicers

Thanks for your help - and I did check at least 20 posts and could not find an answer - i appreciate your help her.

Regards

Don
 

Excel Facts

Convert text numbers to real numbers
Select a column containing text numbers. Press Alt+D E F to quickly convert text to numbers. Faster than "Convert to Number"
I'm afraid that's just how it is. You should use an alternate trigger for your code, such as a pivottableupdate event.
 
Upvote 0

Forum statistics

Threads
1,225,739
Messages
6,186,743
Members
453,370
Latest member
juliewar

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