Unprotect shared worksheet

G

Guest

Hi All,

I created a protected worksheet in a shared workbook in order to allow the
users accessing only certain cells, but in macros I should like to change
some locked cells. Unfortunately XL2000 doesn't allow UnProtect method in a
shared workbook.
What can I do to fulfil both requirements (sharing and unprotecting)
simultaneously?

Thanks,
Stefi
 
D

Dave Peterson

You can't.

You have to make a choice.

If you drop the sharing, you can protect the worksheet with
userinterfaceonly:=true--so your macro can change things that the user can't.

But this setting doesn't stick after you close the workbook and reopen it. You
have to change the protection when the workbook is reopened. And sharing the
workbook kills that, too.
 
G

Guest

Thanks Dave, I'm not happy, but the question is cleared!
Regards,
Stefi


„Dave Peterson†ezt írta:
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top