Hello!
Some time ago I've needed to implement Excel-like Offset function and
I've got this:
Private Function __CompatOffset(ByRef objSource As Object, _
        intRow As Integer, intColumn As Integer) As Object
        Dim intSheet As Integer
        intRow = objSource.CellAddress.Row + intRow
        intColumn = objSource.CellAddress.Column + intColumn
        intSheet = objSource.CellAddress.Sheet
        __CompatOffset =
ThisComponent.getSheets().getByIndex(intSheet).getCellByPosition( _
                intColumn, intRow)
End Function

It was implemented in OO Basic. Can it be implemented another way w/o
struct CellAddress and w/o dispatcher?

Thanks in advance!

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

Reply via email to