I have an issue with LibreOffice Calc version 24.8 Dutch macros and form controls.
In a Calc document with seven worksheets, I entered a macro using the ‘recording macro’ function in worksheet three. This macro is saved in the macro editor under the document’s macro library, labeled ‘buttonNAMEWORKSHEET3’. A button is created in worksheet three, and under ‘properties of controls’ within ‘events/perform action’, the macro is linked to this button. After testing, the macro functions as intended.
However, when I include another macro in worksheet four and test it through the macro editor, it works successfully. I then create a new button in worksheet four and link the new macro to the new button named ‘buttonWORKSHEET4’. Now, when I activate the button in worksheet three, it executes the instructions from the macro created for worksheet four, using the data from worksheet four.
What could be causing this issue? Could it be related to the event type in the ‘properties of controls’?