M
maxhodges
I want to click reply to an HTML email, and then run a macro to insert
some text. THe problem is when I insert my test, all the previously
embedded images disapper, and links get reformatted, link this:
before:
www.whiterabbitpress.us
after:
HYPERLINK "http://www.whiterabbitpress.us/"www.whiterabbitpress.us
anyway to insert text into a mailitem.body without trashing the
integrity of the email being replied to?
I'm doing this in the macro:
Public Sub test()
Dim o As Outlook.MailItem
Set o = ThisOutlookSession.ActiveInspector.CurrentItem
o.BodyFormat = olFormatHTML
o.Body = "test" & o.Body
End Sub
some text. THe problem is when I insert my test, all the previously
embedded images disapper, and links get reformatted, link this:
before:
www.whiterabbitpress.us
after:
HYPERLINK "http://www.whiterabbitpress.us/"www.whiterabbitpress.us
anyway to insert text into a mailitem.body without trashing the
integrity of the email being replied to?
I'm doing this in the macro:
Public Sub test()
Dim o As Outlook.MailItem
Set o = ThisOutlookSession.ActiveInspector.CurrentItem
o.BodyFormat = olFormatHTML
o.Body = "test" & o.Body
End Sub