I have an excel sheet with 100s of rows. I want to be able to lock a particular range from being edited while the others can be left editable. And protect the locked range with a password.
Please help
Activesheet.protect locks the whole sheet. I want it only for a few cells.
F1 opens the Excel help. If you do a search in there, or on google, the top result would be the following link:
https://support.office.com/en-us/article/Lock-or-unlock-specific-areas-of-a-protected-worksheet-75481b72-db8a-4267-8c43-042a5f2cd93a
This should help you out.
In short:
Right click on the cells you want editable
Format Cells...
Tab Protection
For cells that people should be able to Edit: Uncheck "Locked". For cells that people should NOT be able to edit, leave the check for "Locked".
Click OK.
Next, go to the Review tab in the Ribbon and protect your sheet as normal.
Related
Good day,
Im almost completed with my data tool which i am going to send to our offices across the country. i will like to ensure that most of the information stays the same. in order to do this, i will like to lock some cells on all the pages on my sheet.
i reseached online and there were suggestions about locking the cells and then protecting the page. however, when i do that, i cant edit ALL the cells on the prpotected page. is there a way to protect only some cells so that they are untouchable and some are edittable?
thanks
You must unlock the cells that should stay editable after protecting the sheet. You can do that in the Formating Cells Dialog. First select the cells you want to format. Then press {ctrl + 1}. On the protection tab, deselect the locked option. Then protect the sheet.
I need to hid the formulas in my sheet without protecting the sheet,say i have sheet 1 in that i need to hide the formulas from range(A1:G10) i can hide the formula but iam not able to provide input for the whole sheet
My requirement is to hide the selected cells formulas and able to give inputs for other cells in the same sheet how can i achieve this.
Select the whole sheet, right click and then select Format Cells.... In the popup window, select Protection tab. Unselect both options and press OK button. This will unlock all cells on the sheet as by default all cells are locked. Next, select your range, repeat the above process again but this time ensure that both options (Locked and Hidden) are selected this time and press OK. Now protect your sheet (in Excel 2013, select the REVIEW tab and select Protect Sheet option and follow the steps).
This will hide your formulas and stop anyone changing the values in the protected cells
Im helping my friend here in the office but I don't know what to do in his problem. The problem is that he can not edit some cell in excel. He downloaded an excel file with a template of a document he needed. He can add in to the other cells and edit some cells but he can not edit some specific cells. I tried to re"Save as" the document but still can't do. I also search about the "Allow editing directly in cells but it is checked. I'm lost here please help. Any help will be much appreciated. TY!
Go to Review --> unprotect sheet, unprotect it and then edit the cells
Most probably some of your cells contains some specific formula which was protected by the creator of the document. Unprotect the sheet to unlock the cell editing.
So I have a worksheet that I have exported and easily formatted without code from SharePoint. I have cells A11 through R11 that I want locked so when I refresh the column widths don't go back to normal as I wrapped the text. Any help would be greatly appreciated.
I know VBA might have to be used and if so I would love a little description of why.
The following will keep certain column widths from being adjusted:
1. Select all the cells
2. Right click and choose Format Cells
3. Go to Protection tab and uncheck Locked
4. Select the columns you want to lock and repeat steps 1-3 above (this time check Locked)
5. Go to Review tab and deselect Select Locked Cells.
6. Click okay
That should work for you.
I am looking for a way to add a logo or other picture in an Excel sheet and lock its position on the sheet, so that the user won't get annoyed if he happen to grab it while using.
I tried locking cells, sheet, but nothing seems to work.
I am using Excel 2007.
Not really a programming question but the way to do this is...
Right click the image and choose Size and Properties.
Click Properties tab and under properties,(optional- choose Don't move or size with cells) and ensure the Locked box is checked.
Highlight the cells of the worksheet you want the users to be able to edit, right click inside one of them and choose Format Cells. In the protection tab uncheck the locked checkbox.
Then you can protect the worksheet. Click Home, then Format, then Protect Sheet.
Make sure you unselect Select locked cells, leave the top checkbox selected (Protect worksheet and contents of locked cells) as well as select unlocked cells checked.