I have been trying for quite a while to determine how exactly to assign a macro to a shape that resides on a Calc Sheet. As far as I can tell from the documentation there is no method/property which accomplishes this directly and the macro recorder only records up to the displaying of the assign macro dialog.
Having browsed around looking for the answer on the web a lot results talk of assigning macros to form controls with respect to dialogs or how to assign through the GUI. Another result was through the âScriptEventDescriptorâ but again the example I came across uses a form to register the event which isnât present on a Calc Sheet ( Register macro to Image Button - #2 by Ratslinger ) - I assume because itâs using a form control.
If I can assign a macro to a shape object through the Calc GUI surely there is way to do it programmatically - can anyone point me in the right direction?
Thanks in advance