View Single Post
  #5  
Old March 13th 08, 03:58 PM posted to microsoft.public.outlook.program_vba
[email protected]
external usenet poster
 
Posts: 3
Default Reading from subject and writing to "To"

On 27 Feb, 21:25, "Eric Legault [MVP - Outlook]"
wrote:
Hi Max. *ActiveInspector.CurrentItem will get you the MailItem object for
the open e-mail. *MailItem.Subjectwill get you thesubjectline.

Toreference an external file, use the functions from the VBA.FileSystem
class or use the TextStreamObject from the Microsoft Scripting Runtim
Library.

Eric


Thanks Eric,

And how do I write to the To and Cc line?


Max
Ads