Use style of column for new cells in openpyxl

前端 未结 1 1244
一生所求
一生所求 2021-01-26 13:47

Assume that that there is an existing .xlsx file with specified column styles. As a minimal example create an empty sample.xlsx file and by clicking at

相关标签:
1条回答
  • 2021-01-26 14:18

    You'll have to set all cell styles manually. Column and row styles in the specification don't really match up to expectations. They're promises for applications about what to do when creating new cells. There are various reasons, but speed is the main one, why we don't do this in openpyxl.

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