Hi,
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks;namespace AsposeCopySheet
{
using Aspose.Cells;class Program { /// <summary> /// Mains the specified arguments. /// </summary> /// <param name="args">The arguments. static void Main(string[] args) { var workbook = new Workbook("./workbook.xlsx"); var sheet = workbook.Worksheets[0]; var newWorkbook = new Workbook(); newWorkbook.Worksheets.Add(); newWorkbook.Worksheets[0].Copy(sheet); newWorkbook.Save("newWorkbook.xlsx"); } }
}
Hi,
Sample code:
var workbook = new Workbook(“e:\test2\workbook.xlsx”);
var sheet = workbook.Worksheets[0];
var newWorkbook = new Workbook(FileFormatType.Xlsx);
newWorkbook.Worksheets.Add();
newWorkbook.Worksheets[0].Copy(sheet);
newWorkbook.Save(“e:\test2\out1.xlsx”);
Hi,
Thanks for using Aspose.Cells.
This is to inform you that we have fixed your issue CELLSNET-44577 now. We will soon provide the fix after performing QA and including other enhancements and fixes.
Hi,
Thanks for using Aspose.Cells.
Please download and try the latest fix: Aspose.Cells for .NET v8.8.3.6 and let us know your feedback.
The update worked for us. Thanks.
Hi,
Thanks for your feedback and using Aspose.Cells.
It is good to know that your issue is resolved with the latest fix. Let us know if you encounter any other issue, we will be glad to look into it and help you further.
The issues you have found earlier (filed as CELLSNET-44577) have been fixed in this update.
This message was posted using Notification2Forum from Downloads module by Aspose Notifier.