I have similar question about ClosedXML, like this one but a little bit diferent.
The SetDataType method does not work.
For example, I have value
string dps = "3.12.02"
which is not a date nor number, it is valid text.
When I do this:
ws.Cell(1, 1).Value = dps;
ws.Cell(1, 1).SetDataType(XLCellValues.Text);
and save the file and then open it in Excel, it still convert it to some rubish like 37593
I tried to put it before and after setting the value, no change.
Can anybody help me please?