Page 1 of 1

Cell Selection ChangeEvent in Calc

Posted: Mon Mar 13, 2017 1:46 pm
by jayaramu
Hi,
I need to find cell address when user change selection of cell.
Ex: If cursor current position "A1" if user change selection to "C5". here I need to identify and print the cursor current position is C5. Please any one help for this problem.

Re: Cell Selection ChangeEvent in Calc

Posted: Mon Mar 13, 2017 4:07 pm
by karolus
Hallo

for Example:

Code: Select all

def selection_changed(event):
    event.String = event.AbsoluteName
bind to sheet-event "Selection has changed"

Re: Cell Selection ChangeEvent in Calc

Posted: Tue Mar 14, 2017 5:34 am
by jayaramu
Hi. Thank you for reply. Sorry I forgot to mention Technology. Am using Java. Can you please give some example in Java. Thank you.