Link to home
Start Free TrialLog in
Avatar of pwken
pwken

asked on

Help Disabling the "Unprotect" option in the menu bar of Excel

I have a spreadsheet that I do NOT want anyone to change. Rather than protecting it with a password I would like to disable the "Unprotect" option in the menu bar. Is this possible using VBA code?
Avatar of Rory Archibald
Rory Archibald
Flag of United Kingdom of Great Britain and Northern Ireland image

I don't understand - you will still have to protect the worksheet!
Avatar of pwken
pwken

ASKER

I plan on protecting the worksheet to allow input on specific "unlocked" cells. I do not want anyone to unprotect it and passwording can be an issue.
ASKER CERTIFIED SOLUTION
Avatar of Jeroen Rosink
Jeroen Rosink
Flag of Netherlands image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
And you're going to protect the code that does this by........?
Bear in mind that they can also customise their toolbar and drag a new 'Unprotect sheet...' control onto it.
Avatar of pwken

ASKER

Perfect Thanks!
Avatar of pwken

ASKER

Thanks for sharing your concerns. My goal here is to "Strongly" discourage people from changing anyhting on the spreadsheet. The problem that I run into with passwords is that they can be changed without my knowledge and then I have a real problem. This ia an attempt at protection without a password.