Posted on 2011-02-21
If I add a checkbox via code at run-time, how can add code to fire when the user clicks on it?
In VB.net I would use addhandler, but I know this isnt what I need to do with VBA.
Reading up, I thought I could just use chkNew.onClick myMethod(), but that doesnt work either.
Does anyone have an exampe of how to add a handler to a CheckBox in VBA?