I had a macro that was working for a long time, but with a recent update of libreOffice, I had to reset my user profile as merging of cells with content did no longer work.
Now merging agian works my macro is always showing the merge-cells dialog, when before I could suppress it with following code:
…
dim argsMerge(0) as new com.sun.star.beans.PropertyValue
argsMerge(0).Name = “MoveContents”
argsMerge(0).Value = true
rem argsMerge(1).Name = “ShowDialog”
rem argsMerge(1).Value = false
dispatcher.executeDispatch(document, “.uno:MergeCells”, “”, 0, argsMerge())
…
This is the snippet of my code excuting the merge, the selection of cells to be merged is done upfront and works fine.
Anyone have any ideas why this stopped working or any suggestions to prevent the dialog to popup ?