title: Create a rich text control field in VBA for Word 2010
body: <p>I have a control field where I dynamically add certain text. That works well so far. The problem is that in one text I have an input field where the user can type in text.</p>
  
  <p>I need to hardcode the form text input field into the VBA code. How is this achieved? Or can someone point me in the right direction?</p>
  
  <p>In the following code snippet I need to replace the <code>[InputField]</code> by a VBA input field.</p>
  
  <pre><code>ActiveDocument.SelectContentControlsByTitle("Bottom").Item(1).Range.Text = _
  "Some Text" &amp; vbNewLine &amp; _
  "Some Text" &amp; vbNewLine &amp; _
  "Some Text" &amp; vbNewLine &amp; _
  "Text [InputField] Text"
  </code></pre>