View Single Post
  #2  
Old February 6th 09, 08:37 AM posted to microsoft.public.outlook.program_vba
Jeroen
external usenet poster
 
Posts: 14
Default Reply with Reply To

If you set the reply recipient first and then just .Display then mailitem?


"Reitanos" wrote:

Hi,

I'm new to Outlook VBA, so please excuse my ignorance. I'm trying to
write a macro that will set the reply to for me, but what I've got
will only work if I've already clicked on Reply. Is there something I
can add that will build the reply window for me?

My code is currently:
Sub FromSupport()
Dim MyMail As MailItem
Set MyMail = Outlook.ActiveInspector.CurrentItem
'build a reply window
***
'add Have replies sent to support
MyMail.ReplyRecipients.Add "
End Sub

Also, I know this code works, but please let me know if I'm missing
anything else.

Thanks.

Ads