Last post Nov 05, 2011 02:25 AM by saqlainrazahemani
Nov 04, 2011 04:56 AM|saqlainrazahemani|LINK
According to my scenario, I want to convert Excel 2007 (.xlsx) file to Excel 2003 (.xls) from C sharp and asp.net. Help required!
Nov 04, 2011 05:25 AM|reetvenky34|LINK
you can try like this
string excel2007filename= Server.MapPath("file.xlsx");
Nov 04, 2011 05:45 AM|saqlainrazahemani|LINK
Thanks for the reply, I tried this code but no change in xls file :(
Any other idea ?
Nov 04, 2011 04:31 PM|deepak2007in|LINK
You need to work with Excel Com Component. The above code is just a kind of Copy-Paste code with the change in name. Probably this thread can assist you in that.
Nov 04, 2011 07:26 PM|Paul Linton|LINK
Why? Excel 2003 can open Excel 2007 files. The converter was released years ago in Windows update.
Nov 05, 2011 02:25 AM|saqlainrazahemani|LINK
Thanks deepak, this thread seems like opening a excel file through code. But the problem is that my Hosting provider is supporting Microsoft ACE 12.0 driver (Excel 2007 support). I have to handle it with Jet driver (Excel 2003) thats why I want to convert
Excel 2007 to Excel 2003 so that my application can handle both versions of Excel.