Run libreoffice calc macro when a value is added to a column

I have a (scriptforge python) macro that runs when I click a button. But is it possible to make it run when a value is added or appended to a column?

Say A3 to A11 are numbers. When I put a value in A12 I hope to run the macro.

Thanks!

Apache OpenOffice Community Forum - Run a python macro when cell contents change - (View topic)

1 Like

I have seen that but not quite the same. My events is for adding new data to column. The linked topic is for cell updates. Thanks anyway!

Technically its the very same if you update some value or update a (previous empty) cell!

I would need it for the whole column not just an individual cell.

Then use a range instead of a cell…
.

1 Like

Sheet content change actually worked. Then in the event parameter just check the cell address that it is in the same row (0). But unfortunately it freezes and makes libreoffice calc a lot slower so I will just remove it. Thanks!