Correct password will not work to right-click unprotect sheet, but DOES work in VBA

9tanstaafl9

Well-known Member
Joined
Mar 23, 2008
Messages
535
Right clicking and choosing to unprotect a sheet, and entering the correct password (correct capitalization too) DOES NOT WORK. My macro that I have used for years to unlock this workbook DOES WORK. Using the same password. I have been using this workbook for 10 years and have never had this problem before.

I'm sure this is something supremely stupid, but in all my years of working with Excel it hasn't happened before. I'm wondering if I could have done something accidentally that changed how passwords work for this workbook?

And in case you're wondering why it matters if I have a macro that will unlock it, it's because that macro is on my personal.xls and I don't want he people I'm giving it to to have it. Slowing them down a bit helps keep me same.

Thanks in advance, and again I apologize if this was covered elsewhere, I couldn't find it. Search terms are too general.

:)
 

Excel Facts

Copy PDF to Excel
Select data in PDF. Paste to Microsoft Word. Copy from Word and paste to Excel.

Forum statistics

Threads
1,215,181
Messages
6,123,508
Members
449,101
Latest member
mgro123

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