Using EPPLUS how to format cell which contains number to be Text
<p>How can someone format the cell which contains a number to be text?
I have my code which is:</p>

<pre><code>xlsWorkSheet.Cells(x+2,x+2).style.numberformat.format="@"
xlsWorkSheet.Cells(x+2,x+2).Value = xmlrequstmsg.toString
</code></pre>

<p>but for some reason even the excel is produced with format Custom and as soon as I double click the cell only then it transforms to the appropriate format.</p>

<p>How can I fix this?</p>