ReplyAll

Status
Not open for further replies.
R

RWR3YXJk

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
 
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

"Edward" <Edward> wrote in message

news:7F2226F9-CAC6-4A74-9037-44ABF2FF5C55@microsoft.com...
> 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
 
Status
Not open for further replies.

Similar threads

Back
Top