Spreadsheet cell read only

Need help, or want to share a macro? Post here!
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Post Reply
jsusarean
Posts: 11
Joined: Thu Nov 12, 2020 4:22 pm

Spreadsheet cell read only

Post by jsusarean »

Hi,

I am using a spreadsheet to store some variables that I want to keep unchanged once created.

So, is there a sheet method to make a cell read only?

Thanks!

OS: Windows 10 Version 2009
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.24276 (Git)
Build type: Release
Branch: releases/FreeCAD-0-19
Hash: a88db11e0a908f6e38f92bfc5187b13ebe470438
Python version: 3.8.6+
Qt version: 5.15.1
Coin version: 4.0.1
OCC version: 7.5.0
Locale: Spanish/Spain (es_ES)
openBrain
Veteran
Posts: 9034
Joined: Fri Nov 09, 2018 5:38 pm
Contact:

Re: Spreadsheet cell read only

Post by openBrain »

AFAIK there's no way to do it.
jsusarean
Posts: 11
Joined: Thu Nov 12, 2020 4:22 pm

Re: Spreadsheet cell read only

Post by jsusarean »

openBrain wrote: Fri Jul 23, 2021 12:30 pm AFAIK there's no way to do it.
Thanks! I think I will choose the route suggested here: https://www.forum.freecadweb.org/viewtopic.php?p=425552
mario52
Veteran
Posts: 4673
Joined: Wed May 16, 2012 2:13 pm

Re: Spreadsheet cell read only

Post by mario52 »

Maybe you need a special feature, go into Macros_recipes and Code_snippets, Topological_data_scripting.
My macros on Gist.github here complete macros Wiki and forum.
Post Reply