Reputation: 11143
How would I convert and Excel 2003 Open XML Workbook to Excel 97 Format using C#?
Upvotes: 1
Views: 1930
Reputation: 7217
Do you mean Excel 2007 Open XML? There is no Excel 2003 Open XML format. There is an Excel 2003 SpreadsheetML format which is an XML format that is incomplete as well as being a dead end format.
SpreadsheetGear for .NET can read and write both Excel 97-2003 (xls) workbooks and Excel 2007 Open XML (xlsx) workbooks and will convert between the two formats.
There is a free evaluation if you want to try it out.
Disclaimer: I own SpreadsheetGear LLC
Upvotes: 0
Reputation: 14716
You could try following:
Upvotes: 0
Reputation: 6601
Using Visual Studio Tools for Office, open the workbook and then do a SaveAs, select Excel 97 as the format type.
Upvotes: 1
Reputation: 351466
Is it simply data or are there formulas and VBA? If it is just data you could read in the file as XML and do use an XSLT to convert the data to a CSV file.
Upvotes: 1