https://bugs.documentfoundation.org/show_bug.cgi?id=164462

--- Comment #2 from Mike Kaganski <[email protected]> ---
(In reply to Mike Kaganski from comment #1)
>       Dim oSourcePosition As New com.sun.star.table.CellAddress
>       oSourcePosition.Sheet = 0
>       oSourcePosition.Column = 26
>       oSourcePosition.Row = 1
>       oCondition(3).Name = "SourcePosition"
>       oCondition(3).Value = oSourcePosition

Indeed, to avoid manual calculations, your code could use already known oRange
properties:

        oSourcePosition.Sheet = oRange.RangeAddress.Sheet
        oSourcePosition.Column = oRange.RangeAddress.StartColumn
        oSourcePosition.Row = oRange.RangeAddress.StartRow

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to