Executing a macro when a event occurs.
-
- Posts: 3
- Joined: Tue Apr 29, 2008 3:03 pm
Executing a macro when a event occurs.
Hi, I need to activate, or execute, a macro written in Basic that changes something in a spreadsheet when a particular event occurs. For example, this macro should change the background color of a cell when the value of this one chage. How can I captire this event in Basic???
Re: Executing a macro when a event occurs.
Why not using conditional formatting or function STYLE()?
http://user.services.openoffice.org/en/ ... php?id=667
http://user.services.openoffice.org/en/ ... php?id=716
http://user.services.openoffice.org/en/ ... php?id=667
http://user.services.openoffice.org/en/ ... php?id=716
Please, edit this topic's initial post and add "[Solved]" to the subject line if your problem has been solved.
Ubuntu 18.04 with LibreOffice 6.0, latest OpenOffice and LibreOffice
Ubuntu 18.04 with LibreOffice 6.0, latest OpenOffice and LibreOffice
-
- Posts: 3
- Joined: Tue Apr 29, 2008 3:03 pm
Re: Executing a macro when a event occurs.
No mine is a generic consideration, my script has to intercept an event such as chaging value and make something. In another forum someone told about listeners. I'm a java programmer, i know listeners but in Basic I've no idea.
Re: Executing a macro when a event occurs.
You can control OOo with Java as well (even better).
Please, edit this topic's initial post and add "[Solved]" to the subject line if your problem has been solved.
Ubuntu 18.04 with LibreOffice 6.0, latest OpenOffice and LibreOffice
Ubuntu 18.04 with LibreOffice 6.0, latest OpenOffice and LibreOffice