Setting column width for .xls
See original GitHub issueI have gone through the docs, and the relevant examples I have found, even the test files on the repo, and all seem to be dealing with xlsx files (for which I have no difficulty to set the column widths), but none of the solutions I found work with xls files.
I am setting the bookType
when writing the file, and using wpx
when setting the column properties.
So, how would one go about doing that?
Issue Analytics
- State:
- Created 5 years ago
- Reactions:1
- Comments:6 (2 by maintainers)
Top Results From Across the Web
Change the column width and row height - Microsoft Support
To change the default column width for the entire workbook, right-click a sheet tab, and then click Select All Sheets on the shortcut...
Read more >How to change and AutoFit column width in Excel - Ablebits
How to set column width to a certain number · Select one or more columns that you wish to resize. To select all...
Read more >How to Change Column Width in Excel
Adjust Column Width with Mouse · Set Column Width to a Specific Number · Set Column Width by Right-Click · Adjust Column Width...
Read more >4 Methods for How To Change Cell Size in Excel | Indeed.com
To enable AutoFit, start by clicking on a cell in the row or column you want to change. Then, click on the "Home"...
Read more >Excel 2010: Modifying Columns, Rows, and Cells - GCF Global
To set column width with a specific measurement: · Select the columns you want to modify. · Click the Format command on the...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
The following should work for BIFF8 XLS write. Feel free to send a PR:
Here’s a simple test you can run once you make those changes:
Hello, I’m experiencing the same problem. Column width works for .xlsx files but not for .ods or .xls. Any news on this subject?
Similar issue here: https://github.com/SheetJS/sheetjs/issues/1454