Column widths (of some columns) in Openpyxl become zero after 60+ columns

前端 未结 1 625
攒了一身酷
攒了一身酷 2020-12-20 07:28

Given a wb with 5 worksheets, I am adding a column to each every day using openpyxl, and this has been working well. Now though, with just over 60

相关标签:
1条回答
  • 2020-12-20 07:52

    It doesn't seem to be an issue of column widths, but the columns themselves are hidden. Can you post your full code?

    A workaround might be fb.column_dimensions['B'].hidden = False

    Additionally, I would update to the newest version of openpyxl with pip install openpyxl

    0 讨论(0)
提交回复
热议问题