Spire.XLS is a professional Excel API that enables developers to create, manage, manipulate, convert and print Excel worksheets. Get free and professional technical support for Spire.XLS for .NET, Java, Android, C++, Python.

Tue Jul 30, 2019 8:18 am

Hello,

We are trying Spire.Xls 9.7 for use in our products.
And I found the issue.


Execute the following code for 'template.xltx'.
Code: Select all
using (var workbook = new Workbook())
{
   workbook.LoadTemplateFromFile("./template.xltx");

   var sheet1 = workbook.Worksheets["Sheet1"];
   workbook.Worksheets.AddCopy(sheet1);
   sheet1.DeleteRow(1);

   workbook.SaveToFile("./issue.xlsx");
}


The generated "issue.xlsx" be opened in Excel, and dialog will appear asking if want to recover the file.
When the file is recovered, formula at the bottom line of copied 'Sheet1_1' is '#N/A', which is incorrect.
This problem does not occur if do not copy sheets or delete rows.

Thanks in advance.
Attachments
25201_xlsFiles.zip
File used for test
(36.26 KiB) Downloaded 175 times

nf64
 
Posts: 24
Joined: Fri Aug 17, 2018 1:45 am

Tue Jul 30, 2019 9:09 am

Hello,

Thanks for your post.
I indeed found that the issue occurs when deleting rows at the same time, this issue has been submitted to our Dev team for further investigating and fixing. Sorry for the inconvenience caused. We will keep you informed if there is any update.

Sincerely,
Lisa
E-iceblue support team
User avatar

Lisa.Li
 
Posts: 1261
Joined: Wed Apr 25, 2018 3:20 am

Fri Aug 23, 2019 10:48 am

Hello,

Glad to inform you that this issue has been fixed. Welcome to download Spire.XLS Pack(Hotfix) Version:9.8.11 from the following links and test.
Website: https://www.e-iceblue.com/Download/download-excel-for-net-now.html
Nuget: https://www.nuget.org/packages/Spire.XLS/9.8.11

Sincerely,
Lisa
E-iceblue support team
User avatar

Lisa.Li
 
Posts: 1261
Joined: Wed Apr 25, 2018 3:20 am

Mon Aug 26, 2019 2:28 am

Hi,

I confirmed that this problem was solved.
Thank you for prompt response.

nf64
 
Posts: 24
Joined: Fri Aug 17, 2018 1:45 am

Mon Aug 26, 2019 3:31 am

Hello,

Glad to hear that! If you encounter any issue related to our products in the future, just feel free to contact us.
Wish you all the best!

Sincerely,
Lisa
E-iceblue support team
User avatar

Lisa.Li
 
Posts: 1261
Joined: Wed Apr 25, 2018 3:20 am

Return to Spire.XLS

cron