title: Using VBA to parse text in an MS Word document
body: <p>I was hoping someone could help with a MS Word Macro.</p>
  
  <p>Basically, I have a MS Word document which lists out several text files and specific pages of interest in each file. </p>
  
  <p>The file format is similar to:</p>
  
  <pre>
  textdocument1.txt              P. 6, 12 - issue1
  textdocument2.txt              P. 5 - issue1
                                 P. 13, 17 - issue3
  textdocument3.txt              P. 10
  </pre>
  
  <p>I want to read each line into my Macro as a string.</p>
  
  <p>Then traverse through it to identify the file name. With the file name, I can then open the file, go to the page number, and copy the data I need.</p>
  
  <p>But I'm stuck at step 1, how do I capture the line into a string in an MS Word Macro?</p>
  
  <p>Any help will be appreciated.</p>