title: Content Controls MS Word
body: <p>I am new to working with VBA and Word 2010.</p>
  
  <p>I have a Word document with some text fields using Content Controls (i.e. rich text control).</p>
  
  <p>I want one of them named (Title) as "testbox" to be a counter of how many times the document has been printed.</p>
  
  <p>I have some code from Excel that works. Is it possible to use this in MS Word?  How do I communicate with the Content Control instead of a cell in Excel?</p>
  
  <pre><code>Private Sub Workbook_BeforePrint(Cancel As Boolean) 
    Cancel = True 
    Application.EnableEvents = False 
    ActiveSheet.PrintOut 
    Range("A1").Value = Range("A1").Value + 1
    Application.EnableEvents = True 
  End Sub
  </code></pre>