title: Extracting specific text from a Word file
body: <p>I have a Word document that has font sizes of 14 and 18, and the document is of 1500 pages. </p>
  
  <p>I have to make specific changes to the font 14 and font 18, and so after searching, I came across VBA for Word that would allow me to do this easily.</p>
  
  <p>Since I have never done VBA before, I tried this:</p>
  
  <pre><code>Sub tryIt()
  
  If Selection.Font.Size = 18 Then
  MsgBox ("test")
  
  End If
  End Sub
  </code></pre>
  
  <p>But it doesn't work... The msgbox() was just to see if it recognized the text properly.</p>
  
  <p>So how can I separate / differentiate between font size 14 and 18 in a Word document and implement this in a vb script?</p>
  
  <p>Is there any way to extract the 14 and 18 sized text or search for it so that I can do a find/replace?</p>