K
krish
Hi All,
I am trying the following in Outlook 2003, configured to use MS Word
2003 as editor and the formatting for the any new text I type in the e-
mail is lost.
Here' what I am doing:
I am modifying the HMTLBody of the ActiveInspector. (A scenario to
recreate my problem is below)
Here's the problem:
After modifying the HTMLBody if I type in any text into the
ActiveInspector manually, the color of the font is not retained on the
new text.
A scenario to recreate this issue:
1. Compose a new e-mail (Word As Editor). Set the Font color for the e-
mail to Blue and Bold the font. Type in some test text into this e-
mail (This should appear to you as Blue and bolded).
2. Open outlook VBA and in the immediate window type in the following
and execute it:
ActiveInspector.CurrentItem.Htmlbody =
ActiveInspector.CurrentItem.Htmlbody
3. Now, go back into the e-mail that you are composing. You should
observe that any new text you type in has lost the color blue but it
retains the Bold formatting.
Any ideas on why this occurs, and how I may be able to get around this
problem?
Thank you,
Neil Goundar
I am trying the following in Outlook 2003, configured to use MS Word
2003 as editor and the formatting for the any new text I type in the e-
mail is lost.
Here' what I am doing:
I am modifying the HMTLBody of the ActiveInspector. (A scenario to
recreate my problem is below)
Here's the problem:
After modifying the HTMLBody if I type in any text into the
ActiveInspector manually, the color of the font is not retained on the
new text.
A scenario to recreate this issue:
1. Compose a new e-mail (Word As Editor). Set the Font color for the e-
mail to Blue and Bold the font. Type in some test text into this e-
mail (This should appear to you as Blue and bolded).
2. Open outlook VBA and in the immediate window type in the following
and execute it:
ActiveInspector.CurrentItem.Htmlbody =
ActiveInspector.CurrentItem.Htmlbody
3. Now, go back into the e-mail that you are composing. You should
observe that any new text you type in has lost the color blue but it
retains the Bold formatting.
Any ideas on why this occurs, and how I may be able to get around this
problem?
Thank you,
Neil Goundar