Help- How to select a cell programatically using Java in LibreOffice calc

himajin100000 himajin100000 at gmail.com
Thu Jun 11 14:32:14 UTC 2020


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


More information about the LibreOffice mailing list