unlocking cells using VBA in protected sheet

T

tj_b

If I try to unlock cells in a protected sheet using VBA
code it gives me an error.

Is there a way to run the password that opens the file in
the sheet protect and unprotect function?

Any other ideas?
 
Top