title: VBA Change text on checkbox
body: <p>I am working on a macro in MS-Word.
  I have a checkbox called WeaponsChecked and a text field called WeaponsText.
  Onclick, I want to add text to the text field.
  This is my newbie attempt. Of course it does not compile.
  I'm getting a message error: "end if without block if"
  :) Where do I go from here?</p>
  
  <pre><code>Sub WeaponsMacro()
  
  If WeaponsChecked.Checked = True Then WeaponsText.Text = "Time"
  End If
  
  End Sub
  </code></pre>