up: programming - target - Libre Calc  
LibreCalc Programming
Accessing cells
What 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 Sheet.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 - windows - display a bitmap in a window
programming - cgi - cookies
programming - windows - win32 functions
programming - windows - directx
linux software - CAD
code vault - spin
programming - Libre Calc - cell content types
programming - windows - buttons
tk - tk widgets
programming - algorithms - graph drawing drawing a scale
programming:lisp
linux - software
programming - DDE - Excel DDE Server
programming - windows - services
programming - windows - networking
code vault - commandlinetoargvw
programming - windows - win32 structures
filename:programming - Libre Calc - accessing cells
filename:programming%20%2D%20Libre%20Calc%20%2D%20accessing%20cells
last edit:March 21 2026 21:16:22 (232 days ago)
ct = 1794244095.000000 = November 09 2026 17:08:15
ft = 1774127782.000000 = March 21 2026 21:16:22
dt = 20116313.000000