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
X Windows Functions - Display *XOpenDisplay(display_name)
AutoCAD - Dialog Control Language (DCL) - (start_dialog)
code vault - char_pos
Raspberry PI - BCM2835 C library
programming - target - X Windows (X11)
filename:programming - Libre Calc - accessing cells
filename:programming%20%2D%20Libre%20Calc%20%2D%20accessing%20cells
last edit:January 26 2013 17:13:18 (4729 days ago)
ct = 1767890646.000000 = January 08 2026 11:44:06
ft = 1359238398.000000 = January 26 2013 17:13:18
dt = 408652248.000000