1
votes

According to my scenario, I want to convert Excel 2007 (.xlsx) file to Excel 2003 (.xls).

I want to to this with C# code.

Thanks for help.

2

2 Answers

2
votes

Solution with Excel 2007+

In Excel 2007, click on the Office Button > Save As...

Then, change the format to .xls (Excel Workbook 97 - 2003).

Solution without any Excel version >2003

See this article

Solution through VBA

Way to convert from .xls to .xlsm via a batch file or vba?

[EDIT] Solution with C#

How to convert xlsx files into 2003 xls files programatically in C#?

-1
votes

Open the Excel 2007 file in Office 2007 and simply, Click on Top Left Ms-Office log and select Save as arrow button not on Save as option and then select Excel 97-2003 option.....It Will Definitely Work For You.