T
Thomas R. Shannon
I'm trying to do something fairly simply. I'm trying to set the Body of a
form in Outlook to the HTML in the body of the current IE window. This
would be similar to selecting all in the IE window and pasting into the
Outlook item's body (which works). I've got the following command:
objItem.Body = objIE.Document.Body.innerHTML
This inserts the actual HTML code. If I make it this:
objItem.Body = objIE.Document.Body.innerText
I get the text of the body but lose the HTML formatting. What method gives
the Body of the IE document with the HTML formatting, images, etc...?
Thanks,
Tom S.
form in Outlook to the HTML in the body of the current IE window. This
would be similar to selecting all in the IE window and pasting into the
Outlook item's body (which works). I've got the following command:
objItem.Body = objIE.Document.Body.innerHTML
This inserts the actual HTML code. If I make it this:
objItem.Body = objIE.Document.Body.innerText
I get the text of the body but lose the HTML formatting. What method gives
the Body of the IE document with the HTML formatting, images, etc...?
Thanks,
Tom S.