title: VSTO word find with formatting
body: <p>I recently find interest in VSTO and now trying to build a word addon.</p>
  
  <p>Basically I am trying to search all Italic text. But I could not find any help how to do this.</p>
  
  <pre><code>            Word.Range rng = Globals.ThisAddIn.Application.ActiveDocument.Paragraphs[1].Range;
              Word.Find searchRange = rng.Find;
              searchRange.ClearFormatting();
              searchRange.Format = true;
  
              searchRange.Font.Name = "Calibri";
              searchRange.Format = Font.Italic;
  
              object textToFind = "the";
              if (searchRange.Execute(ref textToFind, ref missing, ref missing, ref
              missing, ref missing, ref missing, ref missing, ref missing, ref missing, ref
              missing, ref missing, ref missing, ref missing, ref missing, ref missing))
              {
                  MessageBox.Show("Found text: " + textToFind, "Finding...");
                  rng.Font.Italic = 1;
                  rng.Font.Color = Word.WdColor.wdColorBlue;
              }
  </code></pre>
  
  <p>But there are many errors as it is not working.</p>
  
  <p>My question is How to define the formatting for a search?</p>