Cannot unprotect a worksheet

kafka

New Member
Joined
Jun 2, 2012
Messages
42
I have a worksheet which requires a password to open. I don't want this and have gone through the usual procedure for unprotecting it. Although the buttons under Review tell me that it is unprotected (both show Protect Worksheet and Protect Workbook rather than Unprotect), it still requires a password to open. Help!
 

Excel Facts

Last used cell?
Press Ctrl+End to move to what Excel thinks is the last used cell.
This is most likely because the code for the password request is in a macro in the ThisWorkBook module and is triggered by the "Workbook_Open" or "Auto_Open" event.
 
Last edited by a moderator:
Upvote 0
@rollis13
Did you notice this in your post?
1696812586122.png


I have fixed it for you. FYI, it is caused by the shortcut for that 'smilie' being o_o
For the future, you can fix that by enclosing those characters, or the whole Auto_Open text (or more) with [plain][/plain] tags
 
Upvote 0
Thanks @Peter_SSs(y), in truth I just clicked 'Post reply' and closed the window :rolleyes: and probably I would've noticed it this morning (for me) since every now and then I check my posts but it would've been too late to edit :eek:.
 
Upvote 0
Although the buttons under Review tell me that it is unprotected (both show Protect Worksheet and Protect Workbook rather than Unprotect)
Those options are unrelated to the password for opening a workbook. With the workbook open, select File - Info, click the Protect Workbook dropdown and select the Encrypt workbook option, then clear the contents of the password box in the dialog that appears and save the workbook.
 
Upvote 0

Forum statistics

Threads
1,215,090
Messages
6,123,061
Members
449,091
Latest member
ikke

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