LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 07-12-2011, 03:16 PM   #1
knobby67
Member
 
Registered: Mar 2006
Posts: 627

Rep: Reputation: 43
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!
 
Old 07-12-2011, 03:18 PM   #2
paulsm4
LQ Guru
 
Registered: Mar 2004
Distribution: SusE 8.2
Posts: 5,863
Blog Entries: 1

Rep: Reputation: Disabled
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
 
Old 07-12-2011, 03:28 PM   #3
eSelix
Senior Member
 
Registered: Oct 2009
Location: Wroclaw, Poland
Distribution: Arch, Kubuntu
Posts: 1,281

Rep: Reputation: 320Reputation: 320Reputation: 320Reputation: 320
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.
 
Old 07-13-2011, 02:24 AM   #4
knobby67
Member
 
Registered: Mar 2006
Posts: 627

Original Poster
Rep: Reputation: 43
Quote:
Originally Posted by eSelix View Post
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.
 
Old 07-14-2011, 04:29 PM   #5
eSelix
Senior Member
 
Registered: Oct 2009
Location: Wroclaw, Poland
Distribution: Arch, Kubuntu
Posts: 1,281

Rep: Reputation: 320Reputation: 320Reputation: 320Reputation: 320
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.

Last edited by eSelix; 07-14-2011 at 04:42 PM.
 
Old 01-11-2015, 04:45 AM   #6
Gedagtes
LQ Newbie
 
Registered: May 2012
Location: South Africa
Distribution: ubuntu 16.04 (64 bit)
Posts: 10

Rep: Reputation: Disabled
Cool 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.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
E: Could not get lock /var/lib/dpkg/lock - open (11 Resource temporarily unavailable) phreakshew Linux - Newbie 24 04-12-2019 10:42 AM
Lock after invalid login attempts, session lock, minimum password length nstarz Linux - Security 1 06-24-2010 05:36 PM
OpenOffice Calc: Forcing a carriage return in a cell? peteyperson Linux - Software 10 08-03-2009 09:16 AM
Num lock OFF and Caps & Screen Lock ON at Linux startup. Reversing? peteyperson Linux - Newbie 2 02-28-2009 11:44 AM
all software installs hang scroll lock and caps lock lights flash jcorrnt Linux - Hardware 6 02-07-2009 12:44 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration