Hi all,

I would like to be able to start some macro when the user clicks a cell in calc. Could someone give me a hint, how to create a listener for a kind of a MouseUp event?

I have already working a ModyfyListener like that:

...
oListener = CreateUnoListener( "Change_", "com.sun.star.util.XModifyListener" )
oCell1.addModifyListener( oListener )
...

Sub Change_modified( aEvent )
   msgbox "cell modified"
End Sub

I guess there should be a similar approach to react to a mouseclick.

73,
Stefan

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to