Hallo,
ich bin jetzt auf die möglichkeit gekommen per Makro alle Zellen auf
eine Bedingte formatierung zu prüfen.
Die Schleifen sind wohl kein Problem.
...
osheet= oDoc.Sheets(tabelle)
...
ocell=osheet.getcellbyposition(sp,zl)
a=ocell.absolutename
oConditionalForm = oCell.ConditionalFormat
b=oConditionalForm.count
if b>0 then
c=oConditionalForm.ElementNames
for i= 0 to b-1
e1=oConditionalForm(i).Formula1
stopp=hier
next
end if
..
Mit einem Stoppunkt kann man die Formate Ablesen oder weiter verarbeiten.
Die Zellen kann man dann händisch ändern oder auch mit einer Formel.
Horst
Am 24.02.2015 um 17:31 schrieb technik:
Hallo Peter,
das hat nicht geholfen. Aber ich habe jetzt gefunden, dass das eine
Verknüpfung in einer bedingten Formatierung ist.
Hm, wie finde ich die Zellen, die solch eine formatierung enthalten?
Horst
---------------------------------------------------------------------
To unsubscribe, e-mail: users-de-unsubscr...@openoffice.apache.org
For additional commands, e-mail: users-de-h...@openoffice.apache.org