title: Capture all text from a word document with VBA
body: <p>My goal is to capture all text from a large collection of Word documents, by document and by paragraph within each document, and save it in txt format. </p>
  
  <p>I understand that I will have to capture:</p>
  
  <p>(1) header and footer text using code like:</p>
  
  <pre><code>doc.Sections(1).Footers(1).Range.Text
  </code></pre>
  
  <p>(2) document body text (I intend to do it by paragraph):</p>
  
  <pre><code>For Each p In doc.Paragraphs
      txt = p.Range
  Next
  </code></pre>
  
  <p>(3) text in various textboxes and shapes:</p>
  
  <pre><code>Shapes(1).TextFrame.TextRange.Text
  </code></pre>
  
  <p>Are there any other Word objects which may contain text? Is there a better way to achieve my goal? I considered saving Word document as text but the text contained in text boxes was lost in this process.</p>
  
  <p>UPD. There are also Footnotes and Endnotes to be taken care of. Anything else?</p>