Hi Chris,
Thank you for using
the Syncfusion products.
We have analyzed your code snippet
and we could suspect it’s a usage issue. We have updated the possible code
snippets for “converting the Number to as text” and also we have attached the sample for your reference.
Please make use of this and let us know if this helps you.
Code Snippet:
sheet.IsStringsPreserved = true;
sheet["A1"].Value2
= "9";
Or
sheet["A1"].Value2
= "'9";
sheet["A1"].CellStyle.IsFirstSymbolApostrophe
= false;
Sample
link: Sample
- Number As Text.zip
Please
let us know if you have any clarification.
Thanks,
Rajesh.A