Results 1 to 2 of 2
Thread: Word as Editor
2001-05-24, 01:54 #1JustCallMeAlGuest
Word as Editor
Programmatically from Word (97), I must copy the formatted text from a Word document and paste it into an e-mail message and with character formatting being retained (i.e., bold, underline). Paragraph formatting is not necessary.
We are using Outlook 2000 (most of us) and we are NOT using Word as the editor.
But, I need to have the Outlook mailitem editor changed, programmatically, to Word, the text pasted (retaining the formatting), and the editor changed back so Word is not the editor.
I have seen code for this once, but I can't find it now.
Assistance would be greatly appreciated.
2001-05-31, 01:39 #2JustCallMeAlGuest
Re: Word as Editor
After a considerable searching and a little bit if deviousness, I found the code to which I was referring.
It was the FormDescription property of the MailItem. It can be set to UseWordMail like:
<pre>MailItem.FormDescription.UseWordMail = True</pre>
Once you drill your way to the MailItem, you can go from there.