Locking cell for editing

ArBlo

New Member
Joined
Apr 27, 2004
Messages
2
Hi,

I would like to lock cells for editing after entering the data and/or formulas. Usually I just highlight the cells where the data is "changeable" but it would be nice to lock the relevant cells to prevent mistakes.

Can this be done?

Thanks
 

Excel Facts

Remove leading & trailing spaces
Save as CSV to remove all leading and trailing spaces. It is faster than using TRIM().
By default, every cell of excel is locked but this does not work till you choose Tools | Protection | Protect Sheet.

If some cells are allowed to be edited and some are not (as you mentioned in your post), then do the followings:

1.Press Ctrl + A (which will select all worksheet).

2.Right click on selection.
3.Choose Format Cells | Protection (you will notice that Locked checkbox is
ticked.

4.Untick it & press OK.

5.Now Select cells which are not allowed to be edited. You could make a
multiple selection by pressing Ctrl and selecting. One you have finished
selecting cell, Right clicked on selection | format cells | Protection | Tick
the locked checkbox.

6.Go to Tools | Protection and Enter your password.

Editing the highlighted cells will not be allowed until sheet is unprotected.

Best Regards,

S h a n
 
Upvote 0
By default, every cell of excel is locked but this does not work till you choose Tools | Protection | Protect Sheet.

If some cells are allowed to be edited and some are not (as you mentioned in your post), then do the followings:

1.Press Ctrl + A (which will select all worksheet).

2.Right click on selection.
3.Choose Format Cells | Protection (you will notice that Locked checkbox is
ticked.

4.Untick it & press OK.

5.Now Select cells which are not allowed to be edited. You could make a
multiple selection by pressing Ctrl and selecting. One you have finished
selecting cell, Right clicked on selection | format cells | Protection | Tick
the locked checkbox.

6.Go to Tools | Protection and Enter your password.

Editing the highlighted cells will not be allowed until sheet is unprotected.

Best Regards,

S h a n



I have tried this, and saved the file and closed it, however when I opened it again, I found myself able to edit the cells I have prevented to be edited, so, how come?
 
Upvote 0
You can lock the cell from editting .
First thing you should know that all cell were protectrd.
So what you want to protect be sure that there is tick in the side of "Locked".
You can find "Locked" by the following:
1- Right click on cell ( that you want to protect).
2- Format Cells..
3- Protection.

Note:
- The cell you want to protect from editting be sure that Tick near the word " Locked"
- The cell you don't want to protect ( No protection) Remove Tick near the word " Locked"



Secondly do as the following:
From the sheet it self Usually came with name "Sheet1"
1- Right click
2- Protect Sheet
3- Remove Tick from "Select Locked cell"
4- Write your password
5- Write Password again.

Finish.
 
Upvote 0

Forum statistics

Threads
1,214,805
Messages
6,121,664
Members
449,045
Latest member
Marcus05

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top