Protecting DropDown control from being moved or deleted

Jim Williams

New Member
Joined
May 31, 2011
Messages
2
Hello,
I'm using Excel 2010 in 2003 compatibility mode, with a Form Control DropDown on a protected worksheet, and the input range and cell link unprotected. All is well, but I cannot find a way to prevent a user from right-clicking on the control and either changing properties, moving or even deleting it. Ideally, there would be a way to protect the control.
The following VBA code:

Worksheets("Sheet1").Protect DrawingObjects:=True, Contents:=True, Scenarios:=True

correctly sets the property

Worksheets("Workbench").ProtectDrawingObjects

to True, but the control is still changeable, movable and deletable.
Any thoughts are most welcome.

Thanks!
Jim
 

Excel Facts

How to fill five years of quarters?
Type 1Q-2023 in a cell. Grab the fill handle and drag down or right. After 4Q-2023, Excel will jump to 1Q-2024. Dash can be any character.
I'd been looking for the Protection tab but couldn't find it on the [Format Control] dialog. After thinking about your suggestion, I unlocked the sheet, then checked again. The Protection tab was now visible on the dialog. I checked "Protect", set sheet Protection on, and, voila! The control is properly protected. Strange dialog behavior (instead of graying out a tab), but now I know!

Thanks very much for helping me through a thorny puzzle.

Jim
 
Upvote 0

Forum statistics

Threads
1,224,599
Messages
6,179,827
Members
452,946
Latest member
JoseDavid

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