How to run a VBA Macro by clicking Word 2010 Checkbox?
问题 I want to run a macro when I click a checkbox in Word 2010 . Note that I neither want the "Legacy Forms" checkbox nor the "ActiveX" ones! They do only work in some "protected document mode" and look ugly, but I want the new ones which can be selected and unselected just when you write the document, and which look much nicer to me. I know, with the legacy forms, you can directly insert a Macro when entering the form element and one for leaving it, and you can catch the event in VBA like Sub