title: How to set Color for the text box in visual basic Word macro
body: <p>I tried to change background color of text box.
  These are not working:</p>
  
  <pre><code>Me.TextBox1.ForeColor = &amp;HFF&amp; 
  Me.TextBox1.BackColor = &amp;H8000000D 
  </code></pre>
  
  <p>I did not find any field corresponding to color. My text box:</p>
  
  <pre><code>Set Box = ActiveDocument.Shapes.AddTextbox( _
  Orientation:=msoTextOrientationHorizontal, _
  Left:=50, Top:=50, Width:=440, Height:=300)
  Box.WrapFormat.Type = wdWrapSquare
  </code></pre>