Also ich habe nun folgende Funktion
Code: Alles auswählen
procedure TOLE_OpenOffice.CharColor(sheet,ro,ru,sl,sr:Integer;color:TColor);
var ra : Variant;
r,g,b : Byte;
begin
r := GetRValue(color);
g := GetGValue(color);
b := GetBValue(color);
ra := Document.sheets.getbyindex(sheet).getCellRangebyName(CellIndexToCellName(sl,ro)+':'+CellIndexToCellName(sr,ru));
ra.CharColor := RGB(b,g,r);
end;
Code: Alles auswählen
ra.CharColor := RGB(b,g,r);
Am seltsamsten finde ich nun allerdings, dass man im Internet dazu praktisch nix findet, das muss doch auffallen

Code mit Delphi 2007 erstellt, auf XP. Getestet mit OO 3.2 und OO 2.0, beide geben das gleiche Resultat zurück.