I try to do a simple test in a custom form (task or calendar).
I add a button (GoButton), and add the following code (script editor):
Private Sub GoButton_Click ()
If I test directly the form, I click the GoButton and the window with "Yop!" appears.
If I publish the form and I associate as default form if I use the form when I press the GoButton... nothing happens (no "Yop !" messagebox).
Macro security is at least, I do not see where is the problem.
Anyone have an idea?