View Single Post
  #6  
Old July 26th 08, 06:45 PM posted to microsoft.public.outlook.program_vba
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 5,848
Default Using Word as Editor through VBA

Yes, it's possible, but as I said it won't be a reply message, it will be a
brand new one. You'd also have to get the original recipients and reverse
them so the sender of the original would be the recipient of the fake reply
and the recipient of the original was the new sender.

The To, CC, etc. fields will show the email display name, not the actual
email addresses. Those might be usable for emailing or might not be. If
"Joe" sends you something that might not mean anything when replying.

If you are reading an email then you would get it as
ActiveExplorer.Selection(1). If you have it opened it would be
ActiveInspector.CurrentItem.

From there you can read HTMLBody for an HTML message or Body for a plain
text message, Subject, To, Cc, etc. If you want the actual recipients you
would access the Recipients collection of the original item and iterate each
recipient.

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Professional Programming Outlook 2007.
Reminder Manager, Extended Reminders, Attachment Options.
http://www.slovaktech.com/products.htm


"RW" wrote in message
...
OK, I don't want to open Word as Word. If you customize the toolbar of
Outlook and under the Tools section, there is an Action group. Within this
group is MS Word as html. When used, this opens Word as the email editor.
This is still available on our PC's and works but only for new email.

What I need is a macro that will copy the email one is reading / is active
(including the To, CC, Subject, etc) and paste it into the Word email
editor
after opening it. If one uses the newly created Reply macro, then the To
and
subject would automatically be filled out. If one used the newly created
Reply to All macro then the To and Cc lines would also be filled out
automatically. Is any of this possible?

I appreciate any help you can provide. Thanks


Ads