1

Excel can autofit row height and column width. It can also Middle Align, Left Align and Wrap Text.

Could anybody show me how to achieve these with xlsxwriter?

https://support.microsoft.com/en-us/office/change-the-column-width-and-row-height-72f5e3cc-994d-43e8-ae58-9774a0905f46

https://support.microsoft.com/en-us/office/align-text-in-a-cell-b2489a1f-6c89-45b7-9562-bbc287aa71ea

martineau
  • 119,623
  • 25
  • 170
  • 301
user1424739
  • 11,937
  • 17
  • 63
  • 152

1 Answers1

1

There is quite an extensive discussion of the simulated auto-fit functionality already in the answers to this question. The alignment functions are explained in this part of the xlsxwriter documentation.

Franz
  • 357
  • 3
  • 11