Most likely culprit is that event is not even trapped.
For example you do not have "[event Procedure]" in the onclick property.
Easy test. After you set the property, add the following line of code
msgbox me.allowedits
If nothing pops up then this code is not firing.