macro

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

Guest

I need a macro command to unprotect cells A6:O6. I don't won't to unprotect
the whole Sheet could someone help me ?

Thank Ken
 
Cells are locked or unlocked - but to change that setting you have to
unprotect the worksheet

Activesheet.Unprotect Password:="ABC"
cells.Locked = True
Range("A6:O6").Locked = False
Activesheet.Protect Password:="ABC"
 

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