title: copy only changed text to clipboard
body: <p>I have a question about a problem i need do solve.
  I have a word doc, on which i want to run a search and replace query.
  But i dont want to change the actual text, i want to put the changed text
  in the clipboard and leave the actual one unchanged.  </p>
  
  <pre class="lang-vb prettyprint-override"><code>Sub SearchAndReplace()
  
      ' marks all bold words,italic words, underlined
      Selection.Find.ClearFormatting
      Selection.Find.Font.Bold = True
      Selection.Find.Font.Italic = True
      Selection.Find.Font.Underline = wdUnderlineSingle
      Selection.Find.Replacement.ClearFormatting
  
      With Selection.Find
          .Text = ""
          .Replacement.Text = "[test]^&amp;[/test]"
          .Forward = True
          .Wrap = wdFindContinue
          .Format = True
          .MatchCase = False
          .MatchWholeWord = True
          .MatchAllWordForms = False
          .MatchSoundsLike = False
          .MatchWildcards = True
      End With
  
      Selection.Find.Execute Replace:=wdReplaceAll
  
  End Sub
  </code></pre>