yulqen / bcompiler-engine

MOVED: A Python library to alleviate the pain of using Excel spreadsheets to collect data from your stakeholders.
https://git.sr.ht/~yulqen/bcompiler-engine
MIT License
4 stars 1 forks source link

Handling data validation (drop-down menus) #10

Closed yulqen closed 3 years ago

yulqen commented 5 years ago

https://stackoverflow.com/questions/50917384/read-drop-down-values-from-excel-using-pandas

The above shows how the objects are set up to get at data validation objects.

Currently, if an existing cell as data validation on it, then writing to it will remove the validation (drop down menu). If we wish to retain it, we may have to rebuild the validation, if that is possible.

bcompiler interface should also warn the user if a value is being written into the cell that does not meet the current validation.

yulqen commented 5 years ago

Also: https://openpyxl.readthedocs.io/en/stable/validation.html