Hi, I'm creating excel spreadsheets for reports using the XML method, where you export a valid Microsoft formatted XML, and then export it to Excel.
So far everything works as it should, but I'm having some trouble with the colours.
I've created one style such as:
<Style ss:ID="s64" ss:Parent="s25">
<Font ss:FontName="Tahoma" x:Family="Swiss" ss:Size="14" ss:Color="#4579B9" ss:Bold="1"/>
<Interior/>
</Style>
The colours it's supposed to use, should look like the but on the top of this image:
However, the colour it's using the the one on the bottom.
When I generate the report, it's generated with the colour code: #4579B9, which is what I want, but when I open it, it's displaying the colour as the one from the bottom of the image.
If I then save the document, it automatically changes the colour to be #666699, which is exactly what the colour on the bottom (wrong colour) is.
This however only happens with font colours, as if I change the background colour of any cell to be #4579B9, it will work normally.
I'm thinking it's got something to do with the colour selected being part of the "theme colours" as opposed to the "standard colours".
Does anyone here have any experience generating these kind of reports, and applying styles to it correctly? Or am I missing something?