Hi all,
I've added a listner to a Calc cell.
Assigned Sub Main to Document Open.
Assigned Sub RemoveListener (see below) to Document Close.
However, this one causes an error. See comment marked with in line.
Couldn't find a solution easily (and didn't find courage to study the
whole chapter
Am Mittwoch, den 27.09.2006, 23:56 +0200 schrieb Cor Nouws:
Sub AddListners
Dim oCell
Const sCellName as String = A1
oCell = ThisComponent.Sheets.getByIndex(0).getCellRangeByName(sCellName)
oListner0 = CreateUnoListener( A10_,
com.sun.star.chart.XChartDataChangeEventListener
Thanks Marc,
That did it.
Cor
Marc Santhoff wrote:
' Gives Cannot coerce argument type during corereflection call
From my experience this error message generally wants to tell you that
typecasting is impossible in this situation.
Since you added a ChartDataChangeEventListener I think