Remove Read Only Pop-Up Message when Opening a Worksheet

markerh

New Member
Joined
May 16, 2019
Messages
2
I had password protection added to a workbook so other viewers could not make changes. I removed the protection and re-saved some of the worksheets. Although a password isn't required to open any of the re-saved worksheets, a pop-up appears on opening advising the user that selecting Yes will open the document in Read Only and selecting No will open the document and also allow changes. How can I remove the Read Only pop-up? I would like to allow these sheets to open with editing capability to anyone selecting them.

Thanks
 

Excel Facts

Using Function Arguments with nested formulas
If writing INDEX in Func. Arguments, type MATCH(. Use the mouse to click inside MATCH in the formula bar. Dialog switches to MATCH.
You need to locate the worksheet_activate event code that's generating the pop-up and delete it. Sounds like its in ThisWorkbook. To find it:
1. open the workbook
2. right-click any worksheet tab (where the worksheet name appears) and click on View Code - this opens the VB Editor
3. in the project tree on the left of the editor window, double-click on the ThisWorkbook icon
4. look for code that contains the Read Only message and delete it.
5. save the workbook
You might want to do this on a copy of your workbook first as the deletion will be permanent after step 5. Alternatively, you could simply copy whatever you find in ThisWorkbook and post here to get some guidance on how to best remove the pop-up w/o altering other code that might be desired.
 
Upvote 0

Forum statistics

Threads
1,213,497
Messages
6,113,999
Members
448,541
Latest member
iparraguirre89

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