title: Remove invlaid character from email subject
body: <p>I have the following code</p>
  
  <pre><code>Sub RemoveInvalidChar(myMail As MailItem)
  
  
  If myMail.Subject &lt;&gt; vbNullString Then
          strname = myMail.Subject
     Else
  
  End If
  strname = Replace(strname, "&amp;", "and")
  
  End Sub
  </code></pre>
  
  <p>Basically I want to replace the &amp; char with the word and using a rule.  Doesn't seem to work.</p>