So does anyone know if there is an mso-number-format to mimic the Accounting format in Excel (Negatives are put in parens, zeros are dashes, all have 2 decimals and everything gets a dollar sign waaaay to the left)
I have an html table that i am opening in excel that i would Love to have this format.
I found the following one online, but it doens’t seem to work:
mso-number-format:\#\,\#\#0\.00_\)\;\[Black\]\\(\#\,\#\#0\.00\\)
Thanks
This is the string that I return from C# that gives a true Accounting format in Excel:
Some important things to note when dealing with mso-number-format:
in double quotes
‘inside’ the custom format must be
replaced by literal “escaped double
quotes”, for Excel to interpret
later.
So, you want the actual markup to be outputted like this
Hope this helps