Apr-14-2017, 08:20 PM
Hi,
I am creating an Excel workbook using openpyxl. I build the worksheets - which is not a rocket science
, but I cannot find a way to set bestFit, auto_size, whatever
attribute of columns.
I was pointed to dimesions module in documentation - but it allows you to check the attribute, not to set it.
I tried browsing styles module - no luck there too.
Could anyone please help me out?
(To stave questions "what I have tried" - I cannot show anything because I did not find anything worth trying)
I am creating an Excel workbook using openpyxl. I build the worksheets - which is not a rocket science


I was pointed to dimesions module in documentation - but it allows you to check the attribute, not to set it.
I tried browsing styles module - no luck there too.
Could anyone please help me out?
(To stave questions "what I have tried" - I cannot show anything because I did not find anything worth trying)
Test everything in a Python shell (iPython, Azure Notebook, etc.)
- Someone gave you an advice you liked? Test it - maybe the advice was actually bad.
- Someone gave you an advice you think is bad? Test it before arguing - maybe it was good.
- You posted a claim that something you did not test works? Be prepared to eat your hat.