Hi
Am checking 4.0.5 as replacement to 4.0.4.
Not sure if I'm using the ExcelColor.LookupColor method in the right context.
It always seems to return Black as the colour for either Font or Fill for coloured/shaded cells in a Source sheet.
e.g. LookupColor(sht.Cells[stRow, ii].Style.Font.Color)
Under the covers the theColor.Indexed is always 0;
So I switched to using
"#" + sht.Cells[stRow, ii].Style.Font.Color.Rgb
to get a HTML colour string.
Any clues as to what is wrong? (Maybe I have corrupted the source Cells in some way? The code looks to try to handle the old XLS limited colour palette - but why is that necessary?)
Cheers Andrew
PS. THANKS for a Great product anyway!
Am checking 4.0.5 as replacement to 4.0.4.
Not sure if I'm using the ExcelColor.LookupColor method in the right context.
It always seems to return Black as the colour for either Font or Fill for coloured/shaded cells in a Source sheet.
e.g. LookupColor(sht.Cells[stRow, ii].Style.Font.Color)
Under the covers the theColor.Indexed is always 0;
So I switched to using
"#" + sht.Cells[stRow, ii].Style.Font.Color.Rgb
to get a HTML colour string.
Any clues as to what is wrong? (Maybe I have corrupted the source Cells in some way? The code looks to try to handle the old XLS limited colour palette - but why is that necessary?)
Cheers Andrew
PS. THANKS for a Great product anyway!