Hello!
I have created a new tab in the ribbon using xml code. Now, I have the onAction of the buttons refered to macros in the main document. I want to change this and refer the onAction="mymacro.mymacro" to a macro stored in a stencil ("mystencil").
I have tried the easy way, onAction="mystencil.mymacro.mymacro", but it does not work.
Any idea?
Thanks! ;D
A silly idea: you could leave a generic macro in the document. The macro would then call the actual macro stored in stencil by means of "callbyname".
The must be a more elegant why out there.
The best way is to store custom ribbon code and all other macros in stencil as well. Then you can easily call your macro with onAction callback function
That's what Dividgon is trying to do.