Pivot Chart Dashboard - 1) move cursor to select slicer element 2) protect the physical pivot chart from being selected

mrpaw

Board Regular
Joined
Jan 31, 2011
Messages
80
Hi all,

I have a dashboard of seven pivot charts on a single worksheet. Worksheet is protected to not allow selection of locked cells. All is great and I love the new slicers. Well, almost.

My first problem, when a user selects a slicer the worksheet jumps back to the last cursor location before protecting. I can find nothing even remotely related to this so I'm open to any suggestions that will move the cell reference to the selected slicer location.

Second, and the most worrisome, even though protected from everything except "allow users to: Use PivotTable & PivotChart", users can still select and accidentally delete the pivot chart.
 

Excel Facts

Do you hate GETPIVOTDATA?
Prevent GETPIVOTDATA. Select inside a PivotTable. In the Analyze tab of the ribbon, open the dropown next to Options and turn it off
What version as some behavior may be version specific.

I'm working in 2013 and making sure the one cell that the Pivot Table is assigned to ( see by using he Move Pivot Table) is protected I was able to keep from being able to delete the Pivot Table. Using only three check-boxes in the security options.

As to the cursor "jumps back" is probably from Excel not having a good cell to go to if the "allow selection of locked cells" has not been selected.
 
Upvote 0
Thank you SpillerBD. I was able to prevent the chart deletion.

Do you know of any VBA that would move the cursor to the underlying cell behind the slicer? With 7 charts on one sheet I need the cursor to stay where the user is looking when he selects a slicer option. I turned off the locked cells option in the protection. It seems the slicers "float" over the spreadsheet thus have no cell reference.
 
Upvote 0
I wouldn't expect the cursor (active cell) to change when selecting a slicer.
Events isn't my forte, but I'm sure that is where to begin.
Jerry Sullivan has proven a master of the Pivot Table VBA. You might see if he already has a post that might cover this.
 
Upvote 0

Forum statistics

Threads
1,223,907
Messages
6,175,300
Members
452,633
Latest member
DougMo

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