
Signature
Sue Mosher, Outlook MVP
Author of
Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
http://www.outlookcode.com/jumpstart.aspx
this is work in progress and represents various trials to understand what is
going on and NOT a resonable code to work with. It just shows you what i am
trying to do. so with this here is the current code:
Set myOlApp = CreateObject("Outlook.Application")
Set MyItem = myOlApp.ActiveInspector.CurrentItem
MyItem.BodyFormat = olFormatHTML
TempBody = Replace(MyItem.Body, ">", "===>", 1, -1, vbTextCompare)
MyItem.Body = TempBody
TempBody = Replace(MyItem.Body, "[", "[[", 1, -1, vbTextCompare)
MyItem.Body = TempBody
TempBody = Replace(MyItem.Body, "html", "-- XXXXXX - ", 1, -1,
vbTextCompare)
MyItem.Body = "<html><body><font face=""Terminal"" color=""FF0000"">" &
TempBody ' & "</font><body></html>"
david
> Did you mean to show a code snippet to illustrate what you've been working
> on?
[quoted text clipped - 21 lines]
> > Thanks in advance
> > David
Tomski - 28 Jul 2004 09:31 GMT
> this is work in progress and represents various trials to understand
> what is going on and NOT a resonable code to work with. It just shows
[quoted text clipped - 13 lines]
>
> david
How about:
MyItem.HtmlBody = "<html><body><font face=""Terminal"" color=""FF0000"">" &
TempBody ' & "</font><body></html>"

Signature
Greets
Tomski
David - 30 Jul 2004 07:07 GMT
yes. thanks. this is correct.
David
> > this is work in progress and represents various trials to understand
> > what is going on and NOT a resonable code to work with. It just shows
[quoted text clipped - 17 lines]
> MyItem.HtmlBody = "<html><body><font face=""Terminal"" color=""FF0000"">" &
> TempBody ' & "</font><body></html>"