Format>Cells>Protection Check Locked
and uncheck locked for all cells you want to allow the
user to change
This will work only if the sheet is protected
Tools>Protection>Ptotect Sheet.
where you have several option depending up on your
version of Excel
By Code:
Sub LockCells
Range ("A1:B10").Locked = True
ActiveSheet.Protect Password:= "Password"
End Sub
Abdul Salam
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.