title: How to run a VBA Macro by clicking Word 2010 Checkbox?
body: <p>I want to run a macro when I click a checkbox in <strong>Word 2010</strong>. </p>
  
  <p><strong>Note that I neither want the "Legacy Forms" checkbox nor the "ActiveX" ones!</strong> 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.</p>
  
  <p>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</p>
  
  <pre><code>Sub CheckboxXY_Click()
  </code></pre>
  
  <p>But that does not work with the Word 2010 checkboxes, even when I give them a description and a tag name.</p>
  
  <p><strong>Repeat</strong>: these are the forms I want to use (just in case somebody would advise me to use the Legacy ones):</p>
  
  <p><img src="https://i.stack.imgur.com/axyu6.png" alt="Word 2010 checkbox"></p>
  
  <p>And that's how they look like in the document (with mouse hover):</p>
  
  <p><img src="https://i.stack.imgur.com/Zmlv7.png" alt="enter image description here"></p>
  
  <p>I cannot believe that I was the first one who tried this...</p>