Hello,
I can write like this in StarBasic, but the behavior is a bit strange.
SelectionOverlay doesn't seem to be updated.
REM ***** BASIC *****
Option Explicit
Sub Main
Dim selectionsupplier
selectionsupplier = ThisComponent.getCurrentController()
selectionsupplier.select(ThisComponent.getSheets().getByIndex(0).getCellRangeByPosition(1,1,2,2))
End Sub
--
himajin100000
_______________________________________________
LibreOffice mailing list
LibreOffice@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/libreoffice