You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using CalcCellValue in order to calculate the value previously set with the SetCellFormula. In this specific case, I am using a DATEVALUE formula. Basically, what I do is something like this:
Thanks for your issue. In Excel, the supported formats of the DATEVALUE functions date_text arguments were related to the operating system's regional format settings. Currently, this library just supports the formats of English, for example:
Description
I'm using
CalcCellValue
in order to calculate the value previously set with theSetCellFormula
. In this specific case, I am using aDATEVALUE
formula. Basically, what I do is something like this:Describe the results you received:
From the example above, I will always receive
#VALUE!
in theerr
.On the other side, I have also tried another simple example and this works as expected aka I receive
1
as acellValue
.Is it possible there are some issues just with
DATEVALUE
or am I doing something wrong?Describe the results you expected:
Instead of error (
#VALUE!
), I would expect45109
, which is the numeric value received after applyingDATEVALUE
on the2.7.2023
.Output of
go version
:Excelize version or commit ID:
Environment details (OS, Microsoft Excel™ version, physical, etc.):
MacOS, Excel 16.68
The text was updated successfully, but these errors were encountered: