xlsx format without the com server?
Show older comments
I would like to set (preserve) the column widths when processing an xlsx file but I'm not using windows.
How would I set column widths in these circumstances?
Ta
Answers (2)
Andrew Janke
on 31 Jan 2020
0 votes
You need to use a third-party library like Apache POI to do this.
Coincidentally, I'm writing an Office IO API to support use cases like this. It runs on Apache POI, so it'll work on Linux and is suitable for server-side automation. It supports setting column widths and other sheet formatting.
This library is still in preview, but the basic Excel functionality, including column widths and row heights, is working.
Anon
on 17 Apr 2020
0 votes
Categories
Find more on Spreadsheets in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!