title: How to select every table in a Microsoft Word document using VBA Macro
body: <p>I am looking for a way (or decent introduction) into how to select every table in a Microsoft Word 2013 Document and autofit the contents. Each table is independent of one another and separated by text. </p>
  
  <p>I have established the following code so far:</p>
  
  <pre><code>Sub autofit()
  
      Selection.Tables(1).AutoFitBehavior (wdAutoFitContent)
  
  End Sub
  </code></pre>
  
  <p>Which works for individual tables and every column in said table, I understand the format of the "for loop", but would like a nudge to how to transform my individual selection to the entire document.</p>
  
  <p>This is my first post so apologies for any conventions I have missed.</p>