programming - Libre Calc - accessing cellsWhat links here?
Dim oSheets
Dim oSheet
Dim oCell
oSheets = ThisComponent.getSheets()
For i = 0 To oSheets.getCount() - 1
    oSheet = oSheets.getByIndex(i)
    oCell = oSheet.getCellByPosition(0, 1) ' GetCell A2
    TheSum = TheSum + oCell.getValue()
Next
SumCellsAllSheets = TheSum


Use oSheet.getCellRangeByName("A2") to return a range of cells by name.

Cell = Sheet.getCellRangeByName("A1")
Cell = Sheet.getCellByPosition(c, r)
programming - Libre Calc - accessing cells
programming - DDE - PROGMAN DDE Server
programming - Libre Calc - select the sheet
programming - c - difftime
programming - how to do specific things
MC6802 - instruction set - Store stack pointer
Time internal format
filename:programming - Libre Calc - accessing cells
filename:programming%20%2D%20Libre%20Calc%20%2D%20accessing%20cells
last edit:January 26 2013 17:13:18 (4477 days ago)
ct = 1746063364.000000 = April 30 2025 21:36:04
ft = 1359238398.000000 = January 26 2013 17:13:18
dt = 386824966.000000