Forum menu
Excel shared file -...
 

[Closed] Excel shared file - row locking?

Posts: 91168
Free Member
Topic starter
 
[#11662714]

Is there a way to lock certain rows for a short time, just whilst editing? The internet seems to be talking about long-term locking of stuff, not just whilst editing or working on it.


 
Posted : 08/01/2021 12:05 pm
Posts: 18029
Full Member
 

Not sure I understand. You want to lock rows only when editing or working on it. If you're not editing or working on it surely it doesn't matter if it's locked or not?


 
Posted : 08/01/2021 2:07 pm
 poly
Posts: 9135
Free Member
 

No.


 
Posted : 08/01/2021 6:40 pm
Posts: 78467
Full Member
 

What do you mean by "locking"? Making read-only for everyone else?


 
Posted : 08/01/2021 6:53 pm
Posts: 3497
Free Member
 

Do you mean stop the rows scrolling with the rest of the sheet so you can always see headings for example?

If so then this might be what you need.

https://support.microsoft.com/en-us/office/freeze-panes-to-lock-rows-and-columns-dab2ffc9-020d-4026-8121-67dd25f2508f


 
Posted : 08/01/2021 10:41 pm
Posts: 4954
Free Member
 

If it's always the same group of row you could have those rows be linked to a separate sheet or separate file and make that file ro for everyone else.


 
Posted : 08/01/2021 10:44 pm
 poly
Posts: 9135
Free Member
 

I’m assuming molgrips is trying to use excel like a database. In essence he has a big table in an Excel on SharePoint and is experiencing an issue (or a risk) that whilst Anne is adding details to a row, Bob comes along and starts adding or amending the row. Anne thinks she’s done her bit, Bob thinks he has done his bit and both have got corrupted data.

The correct solution is of course to use a database for databasing and if you need to report it in excel export snapshots to excel. I am well aware that the correct solution is not always the easy one. Alternatives would be user enforced rules around editing to colour code rows which are being edited etc - but will no doubt be hard to stick to and harder to enforce. May be better to run some training to make people clear on how they see if someone else is editing (although if the sheet has many columns that may not work).

If you don’t want to go the full hog with an actual DB the next alternative would be a macros/VB which allow you to add/edit rows and that lock/unlock the cells so ordinary users can’t edit. I’ve never used macros in sharepoint so no idea how it will work - used to be chaos when it was just shared drive stuff.

Fwiw I’ve basically done something similar using a web form that triggers a Python script - long story why it’s not in a database - but it works really well and users seem to like it because not everyone has ever used Excel but everyone can complete a web form.


 
Posted : 09/01/2021 11:55 am
Posts: 292
Full Member
 

Yeah, Excel sharing is far from perfect, for any number of reasons...

Something like Airtable might be worth looking at as an alternative, depending on requirements. Airtable is easy to use if you're used to Excel, but more Database oriented and deals well with sharing...oh, and it starts out free....


 
Posted : 09/01/2021 4:35 pm
Posts: 12369
Full Member
 

I’m assuming molgrips is trying to use excel like a database.

null


 
Posted : 09/01/2021 4:50 pm
Posts: 597
Free Member
 

XKCD - there’s always strip


 
Posted : 09/01/2021 9:28 pm