I am trying to convert html to excel without using any library.
I just encountered one problem.... I have the classes ready etc etc (basically I exported an excel to html) and is now doing it vice versa [just changing the content].
I am formatting my currency/totals as numbers with 2 decimals. (when you right click them it says so at least) but in the excel it still shows as a Text and in order to work with them it requires me to press Convert to Number
At the moment I have this in my loop. Do you think its enough ?
<td class=xl112 align=right style='border-top:none;border-left:none'>2,033.00
</td>
and in the css I have
.xl112
{mso-style-parent:style0;
mso-number-format:"\#\,\#\#0\.00_ \;\[Red\]\\-\#\,\#\#0\.00\\ ";
vertical-align:middle;
border-top:.5pt solid windowtext;
border-right:1.0pt solid windowtext;
border-bottom:.5pt solid windowtext;
border-left:1.0pt solid windowtext;
background:#FFFF99;
mso-pattern:auto none;}