Hi,
<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />
We are using “Aspose.Cells 4.8.1.0” to generate excel reports.
I am Exporting data to Excel and Aspose.Cells generated Excel (.xls) file size is 817 MB.
In that Excel
5 worksheets
63000 rows in each sheet
250 cells in each sheet
I have 4 other excels generated by aspoce.Cells ,sizes are 640 MB,389 MB,298 MB and 207 MB.
I need to Merge all these 5 Excels into one excel file with no of worksheets.
I used the code
Excel objMainExcel = new Excel();
Excel objStateExcel = new Excel(strExcelFile, objClientConfiguration);
if (objStateExcel.Excel.Worksheets.Count > 0)
{
for (int intWorksheet = 0; intWorksheet < objStateExcel.Excel.Worksheets.Count; intWorksheet++)
{
Aspose.Cells.Worksheet objWorkSheet = objMainExcel.Excel.Worksheets.Add(objStateExcel.Excel.Worksheets[intWorksheet].Name);
objWorkSheet.Copy(objStateExcel.Excel.Worksheets[intWorksheet]);
}
}
Is there any other way to merge excel files usign Aspose.Cells? Please help me to solve this problem.
For small file (300 MB) ,its fine.
But its taking too much time and not merging for large file(817 MB)(running 2 to 3 days but not completing).
Regards,
Gopi.
This message was posted using Email2Forum by nausherwan.aslam.