I know about Word Automation Services, where I can start a ConversionJob
which enable you to convert a .docx file to e.g. PDF or .doc.
I thought these services also allow the conversion of XLSX to XLS file - I was wrong. When looking at the SaveFormat
Enumaration it only supports Word. Excel Automation Services don't seem to have such a conversion job?
How do I convert an XLS file to XLSX without using Excel automation (i.e. without having Excel installed on the server)?
EDIT:
In the end I used Aspose Cells for the conversion.
You might try ExcelLibrary or EPPlus those libraries allow you to write excel files without using excel COM object.
You may read cell by cell and create a new worksheet copied from the other one (copy cell by cell)