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.

Thu Oct 24, 2024 6:51 pm

Hello,

We're trying to switch from Excel interop to Spire.XLS and we're running into a problem with VLOOKUP when the lookup value is a datetime. See attached for my sample project. It is a .NET Framework 4.8 project and it contains an input workbook. The project is a simple form with two buttons. The first button updates a range of cells in the input workbook with datetime values using Spire.XLS and saves it as a new workbook. The second button does the same thing with interop instead of Spire.XLS. The resulting interop-generated workbook has all of the VLOOKUP formulas successfully finding a match in the range that was updated. The resulting Spire-generated workbook only has every third VLOOKUP successfully finding a match.

How can we adjust our code to make Spire.XLS save the datetime values in the same way that interop does? Thank you in advance for any help you can provide.
Attachments
SpireXLSTester.zip
(59.31 KiB) Downloaded 1007 times

cal004b2
 
Posts: 4
Joined: Thu Oct 24, 2024 6:42 pm

Fri Oct 25, 2024 5:35 am

Hello,

Thanks for your inquiry. I reproduced the problem using the project you provided. This issue has been logged in our bug tracking system under the number SPIREXLS-5545. Our Dev team will investigate it further, once there is any update, we will let you know.

Sincerely,
Amin
E-iceblue support team
User avatar

Amin.Gan
 
Posts: 306
Joined: Mon Jul 15, 2024 5:40 am

Tue Nov 26, 2024 2:07 am

Hello,

Thank you for your patience.
Glad to inform that we just released Spire.Xls.14.11.3 hotfix which fixes the bug of SPIREXLS-5545, welcome to download it from the following link and test it.
Our website link: https://www.e-iceblue.com/Download/down ... t-now.html
NuGet link: https://www.nuget.org/packages/Spire.XLS/14.11.3

Sincerely,
Amin
E-iceblue support team
User avatar

Amin.Gan
 
Posts: 306
Joined: Mon Jul 15, 2024 5:40 am

Tue Nov 26, 2024 12:36 pm

Thank you very much Amin!

cal004b2
 
Posts: 4
Joined: Thu Oct 24, 2024 6:42 pm

Wed Nov 27, 2024 6:32 am

Hello,

Thanks for your reply. Looking forward to your test results. If you have any other questions, please feel free to write to me.

Sincerely,
Amin
E-iceblue support team
User avatar

Amin.Gan
 
Posts: 306
Joined: Mon Jul 15, 2024 5:40 am

Return to Spire.XLS