I use following macro to move a range from a “input range” to the place I want it to be.
[...]
source = sheet.getCellRangeByName("A5:C6")
target = sheet.getCellByPosition(0, lastRow)
sheet.moveRange(target.CellAddress, source.RangeAddress)
[...]
But this way the formatting gets also moved i.e. I wanted to decorate the range where I input the data (A5:C6) with a background color and a border which both gets moved by the makro to the new destination where I want the text only.
Is there a way to move the text only or would my only option be to change the macro to remove the formatting at the destination and redo it at the input range?
Version: 24.8.5.2 (X86_64) / LibreOffice Community
Build ID: 480(Build:2)
CPU threads: 16; OS: Linux 6.13; UI render: default; VCL: kf6 (cairo+xcb)
Locale: de-DE (en_US.UTF-8); UI: en-US
24.8.5-3
Calc: threaded