title: Using VBA to allow a checkbox to hide/show content in Microsoft Word
body: <p>I've gone through a number of tutorials and instructional videos trying to achieve my intended result of simply allowing a checkbox in my form to hide content when selected, or re-show it when being de-selected, but nothing seems to be working.</p>
  
  <p>Currently, I've created a bookmark for the content I want hidden, and try to call his this in VBA with the following statement - which a number of resources indicated as the solution:</p>
  
  <pre><code>Private Sub CheckBox1_Click()
  ActiveDocument.Bookmarks("bookmark").Range.Font.Hidden = CheckBox1.Value
  End Sub
  </code></pre>
  
  <p>But despite doing this, selecting the checkbox has no affect on the content.</p>
  
  <p>Is there something additional I'm missing (I'm using Microsoft Word 2013).</p>