Nein, diese API kann das nicht :(
Aber diese Funktion ermittelt die aktive Zelle aus dem viewdata-string des controllers:
'-------usefull helper-function, returning focussed cell
'by UROS > http://www.oooforum.org/forum/viewtopic.phtml?t=19348
REM 2006-08-09: fixed error when row > 8191
'100/60/0;1;tw:309;2/2/0/0/0/0/2/0/0/0/0;253/8191/0/0/0/0/2/246/0/0/8158;0/0/0/0/0/0/2/0/0/0/0
'100/60/0;1;tw:309;2/2/0/0/0/0/2/0/0/0/0;253+8192+0+0+0+0+2+246+0+0+8158;0/0/0/0/0/0/2/0/0/0/0
Function getActiveCell(oDoc as Object)
Dim as1(), lSheet&,lCol&,lRow$, sDum as String,bErr as Boolean
        as1()  = Split(oDoc.currentController.ViewData, ";")
        lSheet = CLng(as1(1))
        sDum = as1(lSheet +3)
        as1() = Split(sDum, "/")
        on error goto errSlash
                lCol = CLng(as1(0))
                lRow = CLng(as1(1))
        on error goto 0
getActiveCell = oDoc.getSheets.getByIndex(lSheet).getcellByPosition(lCol,lRow)
exit Function
errSlash:
        if NOT(bErr) then
                bErr = True
                as1() = Split(sDum, "+")
                resume
        endif
End Function

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

Antwort per Email an