title: Select a paragraph in Word and change its style
body: <p>I need to find if a line in my Word document starts with the word Picture, and if it does, change the Style of that line to a built in style. I believe a line that begins after a return key is interpreted by Word as new paragraph and the end of this paragraph is signified by another return key.</p>
  
  <p>I have a single sentence paragraph, whose style I have to change if it begins with the word Picture. How can I search every line of the document to see if it begins with the word Picture?<br>
  --EDIT--<br>
  <strong>I have changed the word Picture into Figure</strong><br>
  I'm trying to find all instances of figure and then convert the line containing figure into boldface (the boldface code will be replaced by code that changes style). For now I have skipped all error checks, and am trying to get it to find all instances of Figure and then convert the sentence characters into boldface, starting from the point where the word Figure is present.</p>
  
  <pre class="lang-vb prettyprint-override"><code>Sub Macro1() 
  ' ' Macro1 Macro ' '  
       Selection.Find.ClearFormatting  
       Do  
       With Selection.Find  
           .Text = "figure"  
           .Forward = True  
           .Wrap = wdFindStop  
       End With  
       Selection.Find.Execute  
       Selection.EndKey Unit:=wdLine, Extend:=wdExtend  
       Selection.Font.Bold = wdToggle  
       Loop 
  End Sub 
  </code></pre>
  
  <p>Here's a screenshot of the document<br>
  <img src="https://i.stack.imgur.com/DQzZ7.jpg" alt="enter image description here">
  It just detects the first Figure in the line shown in the red circle.<br>
  I found the code keeps detecting the first instance of Figure from the current position of the insertion point over and over again.<br>
  How do I search for the next instance of Figure after detecting one of them?<br>
  Changing wdFindStop to wdFindContinue does not work; both produce the same result.</p>