I want to address a simple code for addressing two sheets. Like:
osheet2.GetCellByPosition(c1,r1) = osheet1.GetCellByPosition(c2,r2)
I have two named sheets in the document
I have to assign values to the osheet1 and osheet2 so that they point to the two sheets.
I have seen solutions with:
…dispatcher = createUnoService(“com.sun.star.frame.DispatchHelper”)…
but I have no idea what happens there and there must be a more direct and more transparent way