cell protection

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I need to protect some cells from user input, but need to changes the values
of these cells via code. How can I do this?

Sheldon
 
Hi Sheldon.

Protect the worksheet, setting the UserInterfaceOnly argument to true. This
argument is not persistent, so you could reset it in the Workbook_Open
event.

The UserInterfaceOnly argument will permit code manipulation of the locked
cells on the protected sheet.
 

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

Back
Top