Excel.combine(); did not work?


#1

my codeline is:
Excel excel=new Excel();
Excel excel1=new Excel();
excel1.Open(“E:\Initialization.xls”);
excel.Open(“E:\Release.xls”);
excel.Combine(excel1);
excel.Save(“E:\text.xls”,FileFormatType.Excel2003);

Initialization.xls has 33 worksheets and Release.xls has 1 worksheet, but it did not work ,why? Is the Initialization.xls has too much worksheets?


Copy Excel Columns into Word (Combine Aspose.Words with Aspose.Cells)
#2

Which version of Aspose.Excel are you using? Have you try the latest version at http://www.aspose.com/Products/Aspose.Excel/Downloads.html?


#3

I used the latest version, but it still did not work!
There is a strange problem , When I use Excel.open() to open an excel file, system always told me wrong, but when I use "try{Excel.open();} catch() ", it run good, why?


#4

Could you please upload your designer file here?