vendredi 13 mars 2020

How to get and set value of a checkbox in a xlsx file (Excel) wtih python (openpyxl if possible)?

I didn't found how to get the checkbox values with openpyxl and win32com.client but I had troubles with both.

Python: get the value of a checkbox in Excel

Read Excel checkbox from Python

No answer found for openpyxl. And for win32com.client, the first problem is that win32com.client will only works for windows OS I suppose and second I have libraries problems (module 'win32com.gen_py.00020813-0000-0000-C000-000000000046x0x1x9' has no attribute 'CLSIDToPackageMap' is one of them).

Maybe there is a magical library that do all that is in openpyxl and have checkbox too ?




Aucun commentaire:

Enregistrer un commentaire