Hi,
I ran the following code in C#, trying to copy a worksheet, but somehow after the copy, the margin didn't remain the same.
Workbook wb = new Workbook(@"c:\files\Report.xls");
License lic = new License();
lic.SetLicense(@"c:\files\Aspose.Cells.lic");
Workbook wb2 = new Workbook(FileFormatType.Xlsx);
Worksheet worksheet = wb.Worksheets[0];
wb2.Worksheets.Add();
wb2.Worksheets[0].Copy(worksheet);
wb2.Save(@"c:\files\Report_Copied.xlsx", SaveFormat.Xlsx);
Please take a look at the attached excel file I tried to copy, "Report.xls", after copied, the margin in "Report_Copied.xlsx" moved from column J to column I.
Using the same code, there is another issue casuing with my other excel file, "Report2.xlsx", after copied, there is extra blank page on page 3 in "Report2_Copied.xlsx".
The excel file is attached also.
Thanks!
Hi Greg,
Thanks for providing us the sample files and code to test the scenario. You are right I have found an issue in initial testing I have logged you issue with an id CELLSNET-22826. We will update you soon about the issue.
Thanks,
Hi,
Please try the attached fixed version. We have fixed your issue now.
Thank you.
The issues you have found earlier (filed as 22826) have been fixed in this update.
This message was posted using Notification2Forum from Downloads module by aspose.notifier.