I'm using this VBA code to populate a website text area from HTML emails in outlook.
I would like to remove HYPERLINK "website"website
and HYPERLINK "mailto:email@email.com"email@email.com
from mailitem.body
while retaining text.
How should I do it?
ie.document.getElementById("message").Value = Replace(objItem.Body, vbCrLf & vbCrLf, vbCrLf)
some examples:
www.google.com
comes out in the textarea as HYPERLINK "www.google.com"www.google.com emails come out was HYPERLINK "mailto:dr_patso@email.com"dr_patso@email.com