LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   protect/lock a cell in libreoffice calc (https://www.linuxquestions.org/questions/linux-software-2/protect-lock-a-cell-in-libreoffice-calc-891354/)

knobby67 07-12-2011 04:16 PM

protect/lock a cell in libreoffice calc
 
hi all,
is there a way to lock an individual cell in libreoffice? I can lock/protect a whole document or sheet, but can for the life of work out how to lock an individual sheet.
Thanks in advance!

paulsm4 07-12-2011 04:18 PM

Hi -

Lock file: Yes.

Lock individual cell or individual sheet: apparently not.

Here's one rationale (from a "coordinate authors" perspective):
Quote:

http://listarchives.libreoffice.org/.../msg02273.html

Hi :)

This seems to be normal behaviour. The first person to open the document should
be able to edit it. If the document is then opened a 2nd and 3rd (or more) time
then it can only be edited by the 1st one. The other people can open it as
"read only".

If everyone could edit the same cells at the same time then there might be some
confusion about which edit to keep because there are a lot of contradictory
'obvious' answers.

It might be worth trying to open the document in google-docs a number of times
and see how it gets handled there.
Good luck and regards from
Tom :)

eSelix 07-12-2011 04:28 PM

I have lock cell feature - after right clicking on the cell, selecting "Format cells" and switching to last tab "Cell Protection" and selecting checkbox "Protected". You must also enable "Protect Sheet" from "Tools" menu.

knobby67 07-13-2011 03:24 AM

Quote:

Originally Posted by eSelix (Post 4413037)
I have lock cell feature - after right clicking on the cell, selecting "Format cells" and switching to last tab "Cell Protection" and selecting checkbox "Protected". You must also enable "Protect Sheet" from "Tools" menu.

If I select protect sheet I can't write to any cell if it's protected or not. Any cell just gives a libre 3.3 protoeced cells cannot be modified.
paulsm4 libreoffices rationale seems wrong, nor does it seem work that way in the software. All I want to do is lock cells ( like I've always done in other software ) so users can't over write certain cells, eg column headers where users fill in data etc.

eSelix 07-14-2011 05:29 PM

For me it works as expected, when sheet is protected then locked cells are unmodifiable and non locked cells I can modify. I am using libreoffice-3.3.2.2, from Ubuntu repository. First I must deselect "Protect" option from cells which should not be protected as initially all cells are protected.

Gedagtes 01-11-2015 05:45 AM

Locking/protecting only selected cells in calc: The trick
 
The trick is this: The cells are all protected by default (in my version, anyway). So, when you select cells to protect you should realize that all the other cells are still protected as well. When activating protection in Tools/Protect Document/Sheets, for the selected cells, it in fact activates protection for ALL the cells (whether selected or not). The result is that you cannot change a thing.

So, first select the entire sheet and unclick Protected in Format/Cells/Cell Protection and click OK

Now everything is unprotected and you can start protecting cells according to the standard instructions.

Presumably there is a way to change the default.


All times are GMT -5. The time now is 03:57 AM.