I have this code:
sub Main
rem ----------------------------------------------------------------------
rem define variables
dim document as object
dim oSel as object, oSheet as object
rem ----------------------------------------------------------------------
rem get access to the document
oSheet=thiscomponent.getcurrentcontroller.activesheet
oSel = ThisComponent.getCurrentSelection()
print oSel.value
end sub
How do get the address of oSel in eg “$H$6” format so I can paste data in that cell which I copied from another cell in a fixed location?