![]() |
If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
![]()
Hi everybody,
I'm trying to reply to all by the following code but it's not populating To: field what am I missing here Set msg = Application.CreateItem(olMailItem) With msg .Subject = "Starting-" & Application.ActiveExplorer.Selection(1).Subject .Display .ReplyAll End With I get an error saying it can't send the mail , also To: field is empty Any suggestions? -- Best regards, Edward |
#2
|
|||
|
|||
![]()
A newly created message -- i.e. your msg object -- has no previous sender or
recipient information. You need to call ReplyAll on an existing message. -- Sue Mosher, Outlook MVP Author of Microsoft Outlook 2007 Programming: Jumpstart for Power Users and Administrators http://www.outlookcode.com/article.aspx?id=54 "Edward" wrote in message ... Hi everybody, I'm trying to reply to all by the following code but it's not populating To: field what am I missing here Set msg = Application.CreateItem(olMailItem) With msg .Subject = "Starting-" & Application.ActiveExplorer.Selection(1).Subject .Display .ReplyAll End With I get an error saying it can't send the mail , also To: field is empty Any suggestions? -- Best regards, Edward |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
ItemSend only fired for new mail, not Reply, Replyall and Forward | [email protected] | Outlook and VBA | 3 | June 3rd 08 12:36 AM |
Forward and ReplyAll issue | Alphagmale | Add-ins for Outlook | 0 | February 27th 07 06:52 PM |
how to disable "forward" and "replyall" on an email programitcaly | Ravikanth | Outlook - Using Forms | 1 | August 10th 06 04:44 PM |