Save in 2003 format

Topics: Developer Forum, Project Management Forum, User Forum
Nov 11, 2009 at 2:02 PM

Is there a way to save the file in Excel 2003 format; i.e. xls vs. xlsx? As I suspected, simply providing an ".xls" extension is not doing it. The client has Office 2003 installed on all their workstations and requesting that they upgrade to Office 2007 is not going to fly :(

Thanks!

 

Nov 11, 2009 at 3:47 PM

This library does not support saving in XLS format. Microsoft completely revamped their file formats from 2003->2007 going from binary to XML based. You'll either have to have your client install the Excel Viewer provided by Microsoft or switch to another library. Personally, I would recommend switching to NPOI for file generation. It's quicker and easier to use than ExcelPackage but it will only create XLS files.