'General' is a number format, the String type is a data type.
However, for setCellValueExplicit, it is the String type to which I thought. And in this case, there is no number to indicate format: Excel displays the data literally. And it will not seek to change the display depending on the locale.
I don't see any obvious errors in your code, but something bothers Excel. It 'just' to identify the problem. For example by generating the problem field with a number reduced records to analyze the result.
If Excel transforms the points by commas (by applying a locale, probably), is that the relevant values are considered as numbers by Excel, which certainly generates errors if this is not the case.
However, for setCellValueExplicit, it is the String type to which I thought. And in this case, there is no number to indicate format: Excel displays the data literally. And it will not seek to change the display depending on the locale.
I don't see any obvious errors in your code, but something bothers Excel. It 'just' to identify the problem. For example by generating the problem field with a number reduced records to analyze the result.
If Excel transforms the points by commas (by applying a locale, probably), is that the relevant values are considered as numbers by Excel, which certainly generates errors if this is not the case.