Reputation: 772
How do you specify the file format as .xls and not .xlsx when saving an excel file in C# programatically?
I've tried using Excel.XlFileFormat.xlXMLSpreadsheet
Which enumeration type will save the spreadsheet as a 2000-2003 formatted excel spreadsheet?
Upvotes: 2
Views: 685
Reputation: 176006
From 2007/2010 automation you wantExcel.XlFileFormat.xlExcel8
for a 2000-2003 .xls
.
Upvotes: 4
Reputation: 34418
I used xlWorkbookNormal
in some old code. I can't see any documentation to support that, though.
Upvotes: 0