How can I lock a single cell in an Excel following data entry?

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

Guest

I need to write an Excel program with secure data acquisition and need to
lock each cell following entry. Is there an easy way to do this other than
unprotecting the spreadsheet each time and identifying the new cell set to be
locked?
 
To the best of my knowledge, the sheet has to be unprotected at the time you
change the locked property. That said, it is trivial in code to add the
unprotect and protect commands before and after you change the locked
property of the cell.
 

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