Formula in calc
Posted: Mon Dec 19, 2011 9:22 pm
Use ods to make calc report
No problem with the creation of the report, but the sum in the result is static.
Now i try to use the sum() calc fonction to make the sum of lines created with python loop, and so to have dynamic sum.
1) i try to put the sum() in a cell, but the loop insert line without changing the range in the fonction.
2) don't find the syntax in python code to put fonction in cell and not text.
Is someone know the syntax to use in python code to put the sum function in the report, or the way in ods file to change the range of sum function when inseerting line ?
No problem with the creation of the report, but the sum in the result is static.
Now i try to use the sum() calc fonction to make the sum of lines created with python loop, and so to have dynamic sum.
1) i try to put the sum() in a cell, but the loop insert line without changing the range in the fonction.
2) don't find the syntax in python code to put fonction in cell and not text.
Is someone know the syntax to use in python code to put the sum function in the report, or the way in ods file to change the range of sum function when inseerting line ?