Unprotect worksheet being asked when workbook is opened

kevanr

New Member
Joined
Nov 7, 2019
Messages
20
Hi, I have multiple sheets that are protected for using the standard Protect Sheet (select locked cells and select unlocked cells both ticked) but when the workbook is opened it prompts the user to provide the password to unprotect for as many instances that there are locked sheets in the workbook.

How do I retain the protection so that selected cells cannot be altered but the password is not called for when the workbook is opened?

Thanks
 

Excel Facts

Add Bullets to Range
Select range. Press Ctrl+1. On Number tab, choose Custom. Type Alt+7 then space then @ sign (using 7 on numeric keypad)
Hi & welcome to MrExcel.
Do you have a workbook_Open event in that workbook?
 
Upvote 0
Hi Fluff - thanks for the welcome and your response

No, not that I am aware of. The workbook has been saved and is closed. As soon as I select it to open it the Unprotect Sheet password is requested
 
Upvote 0
Have a look in the "ThisWorbook" module of that workbook & see if there is any code there.
Also search the all workbook modules for anything that has Auto_Open
 
Upvote 0
Have a look in the "ThisWorbook" module of that workbook & see if there is any code there.
Also search the all workbook modules for anything that has Auto_Open

Thanks Fluff I found it and fixed it - much appreciated !!!
 
Upvote 0
You're welcome & thanks for the feedback
 
Upvote 0

Forum statistics

Threads
1,223,214
Messages
6,170,772
Members
452,353
Latest member
strainu

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