Skip to main content
Filter by
Sorted by
Tagged with
0 votes
0 answers
30 views

I have an libreoffice-calc file that looks like this: I'm manually grouping rows in the first column based on the second column and that's fine, no problem with that approach. But for numbering, I'm ...
Maxwell's Daemon's user avatar
0 votes
1 answer
57 views

This function: Function SheetIndex() As Long Dim oFunctionAccess As Object oFunctionAccess = CreateUnoService("com.sun.star.sheet.FunctionAccess") SheetIndex = oFunctionAccess....
Mario Palumbo's user avatar
0 votes
1 answer
72 views

I've got a spreadsheet listing items with a possible child-parent relation (no grand children, children never come before their parent, but children of different parents can be mixed), and I'd like to ...
Guillaume Outters's user avatar
0 votes
1 answer
101 views

I work on a Calc file, with several tabs. Some are used to store datas (like SQL tables). With a python macro, I want to fill a ComboBox "Classes" using the datas in one of these tables. My ...
Myosotis's user avatar
  • 285
2 votes
1 answer
51 views

I'm trying to use multiprocessing in a LibreOffice Macro in Python 3.8. When I create a Macro it is part of the 'ooo_script_framework' module. So, when the process is pickled it is in fact part of an ...
Hiul_Dragonfel's user avatar
0 votes
0 answers
17 views

Yes, I did see the warning and looked at some of the other answers, but I'm struggling a bit all the same. It is a simple enough question, but with a complication: Some of the columns contain line ...
j4nd3r53n's user avatar
  • 860
0 votes
0 answers
40 views

I have a libreoffice document filled with multiple columns, including one named customerid. These customer ID appear multiple times each, as this is a raw data log. I isolated around 50 customer id of ...
FelixCrd's user avatar
0 votes
1 answer
137 views

When I am trying to run this code on an excel document: import subprocess subprocess.run(['libreoffice', '--headless', '--convert-to', 'pdf', 'test_docs/doc.xls', '--outdir', '...
Ivan's user avatar
  • 41
0 votes
2 answers
101 views

I have table of contestants and events: Row Contestant (Col B) Event (Col C) 4 Harold 1500M 5 Alice 1500M 6 Eve 400M 7 Alice 400M 8 Alice 100M 9 Eve 100M 10 David 100M 11 Flynn 100M 12 Greg 1500M 13 ...
JSJ's user avatar
  • 65
0 votes
1 answer
165 views

I have a Libreoffice Calc document with two sheets. In the first sheet, I have a table of data, with a key column (I) and a value column (C). In the second sheet, I am calculating some statistics on ...
user18's user avatar
  • 331
2 votes
3 answers
176 views

"numpy" is installed in for libreoffice24.8: ls /opt/libreoffice24.8/program | grep numpy numpy numpy-2.2.2.dist-info numpy.libs Edit a test python script for macro in libreoffice24.8 to ...
showkey's user avatar
  • 375
0 votes
0 answers
60 views

I would like to apply a filter to a region through a VBA macro and I don't want to hardcode the region. In Excel VBA, I can use the myrange.currentRegion method that returns the region to which ...
lvr123's user avatar
  • 584
-1 votes
1 answer
189 views

i am trying to find the way to call a simple bash script from a macro of my calc document. i 've hard with this instruction: session.RunApplication("Shell", "/usr/local/bin/essai-macro-...
Denis M's user avatar
  • 87
0 votes
0 answers
68 views

We have an ODS file with two spreadsheets. (Picture 1) We are able to use ‘Find All’ to locate cells containing the string ‘Steve’. (Picture 2) However, we are unable to copy them. Because they are on ...
Denix's user avatar
  • 522
1 vote
1 answer
145 views

I'm trying to create a Python UDF that operates on a range of spreadsheet values and returns a single value. From what I've gleaned, I need a Basic wrapper that calls my Python script. Here is what ...
AlanD's user avatar
  • 107
1 vote
1 answer
184 views

I'm working on my first python script for Libre office calc. Following various guides I installed APSO and successfully created a Basic wrapper that calls the python script. This is its signature: ...
user2572526's user avatar
  • 1,289
0 votes
1 answer
34 views

I'm having trouble trying to solve how to run this function =IF($Page1.C3<>"",G2+1,"") the function is working but for a easy replicate I need for the C row to increment by ...
KRAMPSUS's user avatar
0 votes
1 answer
207 views

i have a code Const maxPump As Byte = 3 Public ArrPump(1 to maxPump) As TPump it work until i write Option VbaSupport 1 after i got error like this basic error '9' index out of defined range i use ...
Антон Сибгатулин's user avatar
2 votes
1 answer
149 views

How to do it in Libreoffice-Calc? OnTime for less than 1 second without becoming Unresponsive This is the solution: Declare PtrSafe Function SetTimer Lib "user32" (ByVal hWnd As LongPtr, _ ...
Youra_P's user avatar
  • 139
-4 votes
3 answers
126 views

Suppose you have a list of costs per month, per type. You can have multiple rows with the same type. How can you get the "total aggregate cost for each category from January until month X"? ...
mmalmeida's user avatar
  • 1,055
-1 votes
1 answer
60 views

Is there a way to use sympy from libreoffice calc cells? I want to use sympy's CAS functions. Say I want to integrate formulas in cells.
Alex Alex's user avatar
  • 261
0 votes
1 answer
56 views

With Excel, and using C#, you can load the entire System.Data.Datatable into the sheet by calling mySheet.Cells("A1").LoadFromDataTable(myDataTable, True) where mySheet is an OfficeOpenXml....
Yiannis's user avatar
0 votes
1 answer
228 views

Basically, it's all in the question. I want to be able to enter a formula like this: =some_func(3,1) and the result will be the value referenced in cell A3 (or C1, don't care if the order is row/col ...
jmucchiello's user avatar
1 vote
1 answer
402 views

I have a column of cells containing a date/time (eg: "05/15/24 10:28 PM") and I want to take those values and add 5 years (eg: "05/15/29 10:28 PM") to populate another column. So ...
insaner's user avatar
  • 1,779
1 vote
2 answers
120 views

I want to copy the values, the formats and all conditional formats from an LibreOffice-Calc worksheet-range (A1:H100) to another (new/empty) worksheet of the same workbook. This is, what I do actually:...
wahoonie's user avatar

1
2 3 4 5
19