title: iterate through If statment checking checkboxs in vba word
body: <p>I have a code that works to check singel checkbox</p>
  
  <pre><code>Sub check_if_checked()
      If CheckBox1.Value Then
          MsgBox "checked"
      Else
          MsgBox "not checked"
      End If
  End Sub
  </code></pre>
  
  <p>What i want to do is to create a loop where in the if statment i can replace the check box number with the loop iteration variable.</p>
  
  <p>Something like</p>
  
  <pre><code>If "CheckBox" &amp; i.Value Then
  </code></pre>
  
  <p>Can this be done or maybe done a diffrent way?</p>